public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* asm-i386/mmzone.h oddness.
@ 2005-07-01 21:26 Dave Jones
  2005-07-01 23:30 ` [PATCH] Clean up numa defines in mmzone.h Dave Jones
  2005-07-01 23:31 ` [PATCH] Fix up non-NUMA breakage " Dave Jones
  0 siblings, 2 replies; 3+ messages in thread
From: Dave Jones @ 2005-07-01 21:26 UTC (permalink / raw)
  To: linux-kernel

I was wondering why the rawhide gcc (4.0.0 20050622 (Red Hat 4.0.0-13))
blew up whilst trying to compile -rc3 and newer, with this informative
error..

include/asm/mmzone.h:154: error: syntax error before numeric constant

So I dug around, and I've not yet tested my theory, but this
looks just.. wrong.

#if CONFIG_NUMA
extern struct pglist_data *node_data[];
#define NODE_DATA(nid)  (node_data[nid])

#ifdef CONFIG_NUMA

The first #if used to be a #ifdef CONFIG_DISCONTIGMEM,
which made a little more sense to me, but I don't fully
understand the recent changes yet.

Anyone have clues ?

		Dave

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-07-01 23:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-01 21:26 asm-i386/mmzone.h oddness Dave Jones
2005-07-01 23:30 ` [PATCH] Clean up numa defines in mmzone.h Dave Jones
2005-07-01 23:31 ` [PATCH] Fix up non-NUMA breakage " Dave Jones

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox