android_kernel_xiaomi_sm8350/arch/arm
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
..
boot [ARM] Allow decompressor to be built with -ffunction-sections 2006-04-09 19:08:42 +01:00
common [PATCH] LED: add sharp charger status LED trigger 2006-03-31 12:18:57 -08:00
configs [ARM] 3395/2: AT91RM9200 Dataflash Card vs MMC selection 2006-04-02 17:15:49 +01:00
kernel [ARM] 3470/1: Clear the HWCAP bits for the disabled kernel features 2006-04-10 21:32:35 +01:00
lib Merge master.kernel.org:/home/rmk/linux-2.6-arm 2006-03-28 13:53:03 -08:00
mach-aaec2000 [ARM] 3260/1: remove phys_ram from struct machine_desc (part 2) 2006-01-13 20:51:52 +00:00
mach-at91rm9200 [ARM] 3396/2: AT91RM9200 Platform devices update 2006-04-02 17:15:51 +01:00
mach-clps711x [ARM] 3304/1: Add help descriptions to ARCH config items that don't have one 2006-02-08 21:09:05 +00:00
mach-clps7500 [ARM] 3260/1: remove phys_ram from struct machine_desc (part 2) 2006-01-13 20:51:52 +00:00
mach-ebsa110 [ARM] 3260/1: remove phys_ram from struct machine_desc (part 2) 2006-01-13 20:51:52 +00:00
mach-ep93xx [ARM] 3451/1: ep93xx: use the m48t86 rtc driver on the ts72xx platform 2006-04-02 16:17:40 +01:00
mach-footbridge [PATCH] RTC: Remove RTC UIP synchronization on ARM 2006-03-28 09:16:00 -08:00
mach-h720x [ARM] 3260/1: remove phys_ram from struct machine_desc (part 2) 2006-01-13 20:51:52 +00:00
mach-imx Merge master.kernel.org:/home/rmk/linux-2.6-arm 2006-04-02 13:34:00 -07:00
mach-integrator Merge master.kernel.org:/home/rmk/linux-2.6-serial 2006-03-28 13:52:37 -08:00
mach-iop3xx [ARM] 3391/1: use PLAT8250_DEV_PLATFORM{,1} for platform device id instead of 0/1 2006-03-23 12:59:08 +00:00
mach-ixp4xx [ARM] Convert kmalloc+memset to kzalloc 2006-03-21 22:06:17 +00:00
mach-ixp23xx [ARM] 3439/2: xsc3: add I/O coherency support 2006-04-02 00:07:39 +01:00
mach-ixp2000 [ARM] 3383/3: ixp2000: ixdp2x01 platform serial conversion 2006-03-25 23:03:13 +00:00
mach-l7200 [ARM] 3260/1: remove phys_ram from struct machine_desc (part 2) 2006-01-13 20:51:52 +00:00
mach-lh7a40x [ARM] Remove asm/arch/irq.h 2006-03-21 22:05:46 +00:00
mach-omap1 [ARM] 3460/1: ARM: OMAP: Remove unnecessary nop_release() 2006-04-09 22:21:02 +01:00
mach-omap2 [ARM] 3460/1: ARM: OMAP: Remove unnecessary nop_release() 2006-04-09 22:21:02 +01:00
mach-pxa [ARM] 3453/1: Poodle: Correctly set the memory size 2006-04-02 17:11:00 +01:00
mach-realview [ARM] 3367/1: CLCD mode no longer supported on the RealView boards 2006-03-16 14:10:20 +00:00
mach-rpc [ARM] 3260/1: remove phys_ram from struct machine_desc (part 2) 2006-01-13 20:51:52 +00:00
mach-s3c2410 [ARM] 3469/1: S3C24XX: clkout missing hclk selector 2006-04-09 22:21:10 +01:00
mach-sa1100 [ARM] 3436/1: 2.6.16-git18: collie_defconfig broken 2006-04-01 12:13:31 +01:00
mach-shark [ARM] 3260/1: remove phys_ram from struct machine_desc (part 2) 2006-01-13 20:51:52 +00:00
mach-versatile [ARM] Adapt vic.c to allow for multiple VICs in a system. 2006-03-21 22:05:52 +00:00
mm [ARM] Fix SA110/SA1100 cache flushing 2006-04-07 13:23:57 +01:00
nwfpe [ARM] 3111/2: old ABI compat: adjust NWFPE to be operational within an EABI kernel 2006-01-14 16:36:50 +00:00
oprofile [ARM] Use kcalloc to allocate counter_config array rather than kmalloc 2006-03-21 23:30:02 +00:00
plat-omap [ARM] 3461/1: ARM: OMAP: Fix clk_get() when using id and name 2006-04-09 22:21:05 +01:00
tools [ARM] Update mach-types 2006-02-22 09:33:23 +00:00
vfp [ARM] 3473/1: Use numbers 0-15 for the VFP double registers 2006-04-10 21:32:46 +01:00
Kconfig [PATCH] Configurable NODES_SHIFT 2006-04-11 06:18:39 -07:00
Kconfig-nommu [ARM] nommu: fixups for the exception vectors 2006-03-27 15:18:50 +01:00
Kconfig.debug
Makefile Merge nommu tree 2006-03-28 22:05:10 +01:00