Re: [PATCH 29/35] cpumask: switch over to cpu_online/possible/active/present_mask From: Rusty Russell <rusty@rustcorp.com.au>

From: Tony Luck
Date: Thu Oct 30 2008 - 13:36:55 EST


--- linux-2.6.28.orig/include/linux/cpumask.h
+++ linux-2.6.28/include/linux/cpumask.h
...
+#define cpu_online_map (*(cpumask_t *)cpu_online_mask)

This bit seems to be the reason why linux-next isn't building for ia64
(tag next-20081029
and next-20081030). With this error:

> CC arch/ia64/kernel/asm-offsets.s
> In file included from include/linux/smp.h:30,
> from include/linux/sched.h:68,
> from arch/ia64/kernel/asm-offsets.c:9:
> arch/ia64/include/asm/smp.h:60: error: expected ')' before '*' token
> arch/ia64/include/asm/smp.h:60: error: expected ')' before 'cpu_online_mask'

Fix is trivial ... delete the declaration of cpu_online_map from
arch/ia64/include/asm/smp.h

-Tony
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/