linux/include
Yasunori Goto c80d79d746 [PATCH] Configurable NODES_SHIFT
Current implementations define NODES_SHIFT in include/asm-xxx/numnodes.h for
each arch.  Its definition is sometimes configurable.  Indeed, ia64 defines 5
NODES_SHIFT values in the current git tree.  But it looks a bit messy.

SGI-SN2(ia64) system requires 1024 nodes, and the number of nodes already has
been changeable by config.  Suitable node's number may be changed in the
future even if it is other architecture.  So, I wrote configurable node's
number.

This patch set defines just default value for each arch which needs multi
nodes except ia64.  But, it is easy to change to configurable if necessary.

On ia64 the number of nodes can be already configured in generic ia64 and SN2
config.  But, NODES_SHIFT is defined for DIG64 and HP'S machine too.  So, I
changed it so that all platforms can be configured via CONFIG_NODES_SHIFT.  It
would be simpler.

See also: http://marc.theaimsgroup.com/?l=linux-kernel&m=114358010523896&w=2

Signed-off-by: Yasunori Goto <y-goto@jp.fujitsu.com>
Cc: Hirokazu Takata <takata@linux-m32r.org>
Cc: "Luck, Tony" <tony.luck@intel.com>
Cc: Andi Kleen <ak@muc.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
Cc: Richard Henderson <rth@twiddle.net>
Cc: Kyle McMartin <kyle@mcmartin.ca>
Cc: Russell King <rmk@arm.linux.org.uk>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: Jack Steiner <steiner@sgi.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-04-11 06:18:39 -07:00
..
acpi
asm-alpha [PATCH] Configurable NODES_SHIFT 2006-04-11 06:18:39 -07:00
asm-arm [PATCH] Configurable NODES_SHIFT 2006-04-11 06:18:39 -07:00
asm-arm26
asm-cris [PATCH] Remove unused prepare_to_switch macro 2006-04-11 06:18:34 -07:00
asm-frv [PATCH] Remove unused prepare_to_switch macro 2006-04-11 06:18:34 -07:00
asm-generic [PATCH] mutex: some cleanups 2006-03-31 12:19:01 -08:00
asm-h8300 [PATCH] Remove unused prepare_to_switch macro 2006-04-11 06:18:34 -07:00
asm-i386 [PATCH] Configurable NODES_SHIFT 2006-04-11 06:18:39 -07:00
asm-ia64 [PATCH] Configurable NODES_SHIFT 2006-04-11 06:18:39 -07:00
asm-m32r [PATCH] Configurable NODES_SHIFT 2006-04-11 06:18:39 -07:00
asm-m68k
asm-m68knommu
asm-mips [PATCH] Configurable NODES_SHIFT 2006-04-11 06:18:39 -07:00
asm-parisc [PATCH] Configurable NODES_SHIFT 2006-04-11 06:18:39 -07:00
asm-powerpc [PATCH] Configurable NODES_SHIFT 2006-04-11 06:18:39 -07:00
asm-ppc
asm-s390 [PATCH] S390: fix implicit declaration of (un)likely. 2006-04-11 06:18:39 -07:00
asm-sh [PATCH] Configurable NODES_SHIFT 2006-04-11 06:18:39 -07:00
asm-sh64
asm-sparc [SPARC]: Wire up sys_sync_file_range() into syscall tables. 2006-03-31 23:49:34 -08:00
asm-sparc64 [PATCH] for_each_possible_cpu: sparc64 2006-04-11 06:18:31 -07:00
asm-um [PATCH] uml: fix "extern-vs-static" proto conflict in TLS code 2006-04-11 06:18:36 -07:00
asm-v850 [PATCH] Remove unused prepare_to_switch macro 2006-04-11 06:18:34 -07:00
asm-x86_64 [PATCH] Configurable NODES_SHIFT 2006-04-11 06:18:39 -07:00
asm-xtensa [PATCH] Remove unused prepare_to_switch macro 2006-04-11 06:18:34 -07:00
keys
linux [PATCH] Configurable NODES_SHIFT 2006-04-11 06:18:39 -07:00
math-emu
media V4L/DVB (3702): Make msp3400 routing defines more consistent 2006-04-02 04:56:11 -03:00
mtd
net [IPV6]: Deinline few large functions in inet6 code 2006-04-09 22:48:59 -07:00
pcmcia [PATCH] pcmcia: declare pccard_iodyn_ops (fix m8xx_pcmcia.c compilation error) 2006-03-31 21:49:51 +02:00
rdma IB/mad: RMPP support for additional classes 2006-03-30 07:19:51 -08:00
rxrpc
scsi [PATCH] move ->eh_strategy_handler to the transport class 2006-04-10 14:15:47 -04:00
sound Update dummy snd_power_wait() function for new calling convention 2006-04-02 14:37:36 -07:00
video