applied.
thanks,
-Len 

>-----Original Message-----
>From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
>Sent: Tuesday, March 28, 2006 5:03 PM
>To: Brown, Len
>Cc: [email protected]; [EMAIL PROTECTED]; Pallipadi, Venkatesh
>Subject: [patch 01/26] git-acpi: uniprocessor compile fixes
>
>
>From: Andrew Morton <[EMAIL PROTECTED]>,
>      Venkatesh Pallipadi <[EMAIL PROTECTED]>
>
>cpu_online_map doesn't exist if !CONFIG_SMP.
>
>This path is rather lame and it'd be nice to fix it better.
>
>Cc: Venkatesh Pallipadi <[EMAIL PROTECTED]>
>Cc: Len Brown <[EMAIL PROTECTED]>
>Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
>---
>
> arch/i386/kernel/cpu/cpufreq/acpi-cpufreq.c       |    4 ++++
> arch/i386/kernel/cpu/cpufreq/speedstep-centrino.c |    4 ++++
> 2 files changed, 8 insertions(+)
>
>diff -puN 
>arch/i386/kernel/cpu/cpufreq/acpi-cpufreq.c~git-acpi-up-fix 
>arch/i386/kernel/cpu/cpufreq/acpi-cpufreq.c
>--- 
>devel/arch/i386/kernel/cpu/cpufreq/acpi-cpufreq.c~git-acpi
>-up-fix        2006-03-28 14:02:59.000000000 -0800
>+++ devel-akpm/arch/i386/kernel/cpu/cpufreq/acpi-cpufreq.c     
>2006-03-28 14:02:59.000000000 -0800
>@@ -225,8 +225,12 @@ acpi_cpufreq_target (
>       freqs.old = data->freq_table[cur_state].frequency;
>       freqs.new = data->freq_table[next_state].frequency;
> 
>+#ifdef CONFIG_HOTPLUG_CPU
>       /* cpufreq holds the hotplug lock, so we are safe from 
>here on */
>       cpus_and(online_policy_cpus, cpu_online_map, policy->cpus);
>+#else
>+      online_policy_cpus = policy->cpus;
>+#endif
> 
>       for_each_cpu_mask(j, online_policy_cpus) {
>               freqs.cpu = j;
>diff -puN 
>arch/i386/kernel/cpu/cpufreq/speedstep-centrino.c~git-acpi-up-f
>ix arch/i386/kernel/cpu/cpufreq/speedstep-centrino.c
>--- 
>devel/arch/i386/kernel/cpu/cpufreq/speedstep-centrino.c~git-acp
>i-up-fix       2006-03-28 14:02:59.000000000 -0800
>+++ 
>devel-akpm/arch/i386/kernel/cpu/cpufreq/speedstep-centrino.c   
>2006-03-28 14:02:59.000000000 -0800
>@@ -652,8 +652,12 @@ static int centrino_target (struct cpufr
>               return -EINVAL;
>       }
> 
>+#ifdef CONFIG_HOTPLUG_CPU
>       /* cpufreq holds the hotplug lock, so we are safe from 
>here on */
>       cpus_and(online_policy_cpus, cpu_online_map, policy->cpus);
>+#else
>+      online_policy_cpus = policy->cpus;
>+#endif
> 
>       saved_mask = current->cpus_allowed;
>       first_cpu = 1;
>_
>
-
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to