x86-64 NODES_SHIFT compile failure.

From: Dave Jones
Date: Fri May 16 2008 - 12:54:31 EST


4323838215184f5a2f081e0d17b8d60731b03164 added this line to x86's Kconfig..

config NODES_SHIFT
int
+ range 1 15 if X86_64
default "6" if X86_64
default "4" if X86_NUMAQ
default "3"

Selecting 15 causes:

drivers/base/node.c: In function ânode_read_distanceâ:
drivers/base/node.c:140: error: size of array âtype nameâ is negative

Should the upper limit be reduced to 14 (which compiles), or should
the BUILD_BUG_ON be changed to somehow cope with this set of changes?

Dave

--
http://www.codemonkey.org.uk
--
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/