Messages in this thread Patch in this message |  | | Date | Sun, 18 Feb 2018 18:30:54 +0100 (CET) | From | Thomas Gleixner <> | Subject | [GIT pull] core fix for 4.16 |
| |
Linus,
please pull the latest core-urgent-for-linus git tree from:
git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git core-urgent-for-linus
A small fix which adds the missing for_each_cpu_wrap() stub for the UP case to avoid build failures.
Thanks,
tglx
------------------> Michael Kelley (1): cpumask: Make for_each_cpu_wrap() available on UP as well
include/linux/cpumask.h | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/include/linux/cpumask.h b/include/linux/cpumask.h index d4a2a7dcd72d..bf53d893ad02 100644 --- a/include/linux/cpumask.h +++ b/include/linux/cpumask.h @@ -170,6 +170,8 @@ static inline unsigned int cpumask_local_spread(unsigned int i, int node) for ((cpu) = 0; (cpu) < 1; (cpu)++, (void)mask) #define for_each_cpu_not(cpu, mask) \ for ((cpu) = 0; (cpu) < 1; (cpu)++, (void)mask) +#define for_each_cpu_wrap(cpu, mask, start) \ + for ((cpu) = 0; (cpu) < 1; (cpu)++, (void)mask, (void)(start)) #define for_each_cpu_and(cpu, mask, and) \ for ((cpu) = 0; (cpu) < 1; (cpu)++, (void)mask, (void)and) #else
|  |