lkml.org 
[lkml]   [2004]   [Jun]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] fix cpumask.h in mainline for UPu
Bruno Ducrot <poup@poupinou.org> wrote:
>
> I'm trying to replace for_each_cpu() with for_each_cpu_mask() in
> arch/i386/kernel/cpu/cpufreq/p4-clockmod.c
>
> Unfortunately, though, davej pointed me that for_each_cpu_mask()
> is not defined in -bk if CONFIG_SMP is not defined. Since this macro is
> the only one not defined if compiled for UP, and since -mm tree do have
> the correct behaviour already, is it possible to get this patch in mainline
> before this portion of -mm is merged?
>
> +#define for_each_cpu_mask(cpu, mask) for (cpu = 0; cpu < 1; cpu++)

Yup, I'll merge that up prior to 2.6.7, thanks.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:03    [W:0.024 / U:0.048 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site