original_kernel/include/asm-powerpc
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
..
iseries [PATCH] powerpc: iseries: Make more stuff static in platforms/iseries/mf.c 2006-03-22 15:04:23 +11:00
8253pit.h
a.out.h
abs_addr.h
agp.h
asm-compat.h
atomic.h
auxvec.h
backlight.h
bitops.h [PATCH] bitops: powerpc: use generic bitops 2006-03-26 08:57:14 -08:00
bootx.h
btext.h
bug.h [PATCH] git-powerpc: WARN was a dumb idea 2006-03-28 20:48:54 +11:00
bugs.h
byteorder.h
cache.h
cacheflush.h
checksum.h
compat.h
cputable.h [PATCH] powerpc: work around sparse warnings in cputable.h 2006-03-27 14:48:06 +11:00
cputime.h
current.h
dbdma.h
delay.h
div64.h
dma-mapping.h
dma.h
eeh.h [PATCH] powerpc/pseries: EEH Cleanup 2006-04-01 22:37:11 +11:00
eeh_event.h
elf.h
emergency-restart.h
errno.h
fcntl.h
firmware.h [PATCH] powerpc: Rename and export ppc64_firmware_features 2006-03-28 16:45:20 +11:00
floppy.h [PATCH] powerpc: make ISA floppies work again 2006-03-28 16:45:36 +11:00
futex.h [PATCH] lightweight robust futexes updates 2006-03-27 08:44:49 -08:00
grackle.h
hardirq.h
heathrow.h
hvcall.h [PATCH] powerpc: Extends HCALL interface for InfiniBand usage 2006-04-01 22:37:00 +11:00
hvconsole.h [PATCH] powerpc: hvc_console updates 2006-03-28 16:45:26 +11:00
hvcserver.h
hw_irq.h
i8259.h
ibmebus.h
ide.h
io.h
ioctl.h
ioctls.h
iommu.h
ipc.h
ipcbuf.h
ipic.h
irq.h
kdebug.h [PATCH] Notifier chain update: API changes 2006-03-27 08:44:50 -08:00
kdump.h
kexec.h [PATCH] fix kexec asm 2006-03-08 14:15:04 -08:00
keylargo.h
kmap_types.h
kprobes.h
linkage.h
lmb.h [PATCH] powerpc: Remove calculation of io hole 2006-03-22 15:04:30 +11:00
local.h
lppaca.h
machdep.h [PATCH] powerpc: Kill _machine and hard-coded platform numbers 2006-03-28 23:15:54 +11:00
macio.h
mc146818rtc.h
mediabay.h
mman.h
mmu.h [PATCH] powerpc: Remove calculation of io hole 2006-03-22 15:04:30 +11:00
mmu_context.h
mmzone.h
module.h
mpic.h
msgbuf.h
mutex.h
namei.h
nvram.h
of_device.h
ohare.h
oprofile_impl.h [PATCH] powerpc: Remove oprofile spinlock backtrace code 2006-03-29 13:44:16 +11:00
pSeries_reconfig.h
paca.h [PATCH] powerpc: Allow non zero boot cpuids 2006-03-27 14:48:48 +11:00
page.h [PATCH] unify pfn_to_page: powerpc pfn_to_page 2006-03-27 08:44:44 -08:00
page_32.h
page_64.h
param.h
parport.h
pci-bridge.h
pci.h
percpu.h [PATCH] for_each_possible_cpu: powerpc 2006-03-29 13:44:15 +11:00
pgalloc.h
pgtable-4k.h Merge ../linux-2.6 2006-03-09 14:32:05 +11:00
pgtable-64k.h
pgtable.h Merge git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc 2006-03-22 22:20:46 -08:00
pmac_feature.h [PATCH] powerpc: Kill _machine and hard-coded platform numbers 2006-03-28 23:15:54 +11:00
pmac_low_i2c.h
pmac_pfunc.h
pmc.h
poll.h [PATCH] POLLRDHUP/EPOLLRDHUP handling for half-closed devices notifications 2006-03-25 08:22:56 -08:00
posix_types.h
ppc-pci.h [PATCH] powerpc: properly configure DDR/P5IOC children devs 2006-03-16 16:55:07 +11:00
ppc_asm.h
processor.h [PATCH] powerpc: Kill _machine and hard-coded platform numbers 2006-03-28 23:15:54 +11:00
prom.h [PATCH] powerpc: Kill _machine and hard-coded platform numbers 2006-03-28 23:15:54 +11:00
ptrace.h
reg.h powerpc: Unify the 32 and 64 bit idle loops 2006-03-27 15:03:03 +11:00
reg_8xx.h
resource.h
rtas.h
rtc.h
rwsem.h
scatterlist.h
seccomp.h
sections.h
semaphore.h
sembuf.h
serial.h
setup.h
shmbuf.h
shmparam.h
sigcontext.h
siginfo.h
signal.h
smp.h [PATCH] powerpc: Allow non zero boot cpuids 2006-03-27 14:48:48 +11:00
smu.h
socket.h
sockios.h
sparsemem.h
spinlock.h
spinlock_types.h
spu.h [PATCH] spufs: enable SPE problem state MMIO access. 2006-03-27 14:48:28 +11:00
spu_csa.h
sstep.h
stat.h
statfs.h
string.h powerpc: fix strncasecmp prototype 2006-03-25 09:41:40 -08:00
synch.h
syscalls.h [PATCH] powerpc: declare arch syscalls in <asm/syscalls.h> 2006-03-27 14:48:22 +11:00
system.h [NET]: Allow skb headroom to be overridden 2006-03-31 02:27:06 -08:00
tce.h
termbits.h
termios.h
thread_info.h powerpc: Fix various syscall/signal/swapcontext bugs 2006-03-08 13:24:22 +11:00
time.h
timex.h
tlb.h
tlbflush.h
topology.h
types.h [PATCH] 2TB files: add blkcnt_t 2006-03-26 08:57:00 -08:00
uaccess.h
ucontext.h
udbg.h
unaligned.h
uninorth.h
unistd.h [PATCH] Introduce sys_splice() system call 2006-03-30 12:28:18 -08:00
user.h
vdso.h
vdso_datapage.h [PATCH] powerpc: Kill _machine and hard-coded platform numbers 2006-03-28 23:15:54 +11:00
vga.h
vio.h
xmon.h
xor.h