public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* x86-64 NODES_SHIFT compile failure.
@ 2008-05-16 16:54 Dave Jones
  2008-05-16 17:01 ` Dave Jones
  2008-05-16 17:44 ` Mike Travis
  0 siblings, 2 replies; 3+ messages in thread
From: Dave Jones @ 2008-05-16 16:54 UTC (permalink / raw)
  To: Linux Kernel; +Cc: travis

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

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

end of thread, other threads:[~2008-05-16 17:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-16 16:54 x86-64 NODES_SHIFT compile failure Dave Jones
2008-05-16 17:01 ` Dave Jones
2008-05-16 17:44 ` Mike Travis

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