lkml.org 
[lkml]   [2015]   [Apr]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 3/6] p4-clockmod: replace cpu_sibling_mask() with topology_thread_cpumask()
    Date
    The former duplicates the functionality of the latter but is neither
    documented nor arch-independent.

    Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
    ---
    drivers/cpufreq/p4-clockmod.c | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    diff --git a/drivers/cpufreq/p4-clockmod.c b/drivers/cpufreq/p4-clockmod.c
    index 529cfd9..a7bc52e 100644
    --- a/drivers/cpufreq/p4-clockmod.c
    +++ b/drivers/cpufreq/p4-clockmod.c
    @@ -172,7 +172,7 @@ static int cpufreq_p4_cpu_init(struct cpufreq_policy *policy)
    unsigned int i;

    #ifdef CONFIG_SMP
    - cpumask_copy(policy->cpus, cpu_sibling_mask(policy->cpu));
    + cpumask_copy(policy->cpus, topology_thread_cpumask(policy->cpu));
    #endif

    /* Errata workaround */
    --
    2.1.4


    \
     
     \ /
      Last update: 2015-04-30 12:21    [W:3.298 / U:0.640 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site