kernel-ark/include/asm-mips
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
..
arc
ddb5xxx
dec
galileo-boards
ip32
it8172
jmr3927
lasat
mach-atlas
mach-au1x00
mach-cobalt
mach-db1x00
mach-ddb5074
mach-dec
mach-ev64120
mach-ev96100
mach-generic
mach-ip22
mach-ip27
mach-ip32
mach-ja
mach-jazz
mach-jmr3927
mach-lasat
mach-mips
mach-ocelot
mach-ocelot3
mach-pb1x00
mach-pnx8550
mach-qemu
mach-rm200
mach-sibyte
mach-sim
mach-yosemite
mips-boards
pci
sgi
sibyte
sn
tx4927
tx4938
vr41xx
xtalk
8253pit.h
a.out.h
abi.h
addrspace.h
asm.h
asmmacro-32.h
asmmacro-64.h
asmmacro.h
atomic.h
auxvec.h
bcache.h
bitops.h [PATCH] bitops: mips: use generic bitops 2006-03-26 08:57:13 -08:00
bootinfo.h
branch.h
break.h
bug.h
bugs.h
byteorder.h
cache.h
cachectl.h
cacheflush.h
cacheops.h
checksum.h
compat.h [PATCH] mips: add ptr_to_compat() 2006-03-27 08:44:49 -08:00
compiler.h
cpu-features.h
cpu-info.h
cpu.h
cputime.h
current.h
ddb5074.h
debug.h
delay.h
div64.h
dma-mapping.h
dma.h
ds1286.h
dsp.h
elf.h
emergency-restart.h
errno.h
fcntl.h
fixmap.h
floppy.h
fpregdef.h
fpu_emulator.h
fpu.h
futex.h [PATCH] lightweight robust futexes updates 2006-03-27 08:44:49 -08:00
gdb-stub.h
gfx.h
gt64120.h
gt64240.h
hardirq.h
hazards.h
highmem.h
hw_irq.h
i8259.h
ide.h
inst.h
interrupt.h
inventory.h
io.h [PATCH] remove ISA legacy functions: remove the helpers 2006-03-24 07:33:19 -08:00
ioctl.h
ioctls.h
ipc.h
ipcbuf.h
irq_cpu.h
irq.h
isadep.h
it8712.h
jazz.h
jazzdma.h
kmap_types.h
linkage.h [PATCH] abstract type/size specification for assembly 2006-03-24 07:33:25 -08:00
local.h
m48t35.h
m48t37.h
marvell.h
mc146818-time.h [PATCH] RTC: Remove RTC UIP synchronization on MIPS MC146818 2006-03-28 09:16:00 -08:00
mc146818rtc.h
mipsmtregs.h
mipsprom.h
mipsregs.h
mman.h
mmu_context.h
mmu.h
mmzone.h [PATCH] unify pfn_to_page: mips pfn_to_page 2006-03-27 08:44:45 -08:00
module.h
msc01_ic.h
msgbuf.h
mutex.h
namei.h
nile4.h
paccess.h
page.h [PATCH] unify pfn_to_page: mips pfn_to_page 2006-03-27 08:44:45 -08:00
param.h
parport.h
pci.h
percpu.h
pgalloc.h
pgtable-32.h
pgtable-64.h
pgtable-bits.h
pgtable.h
pmon.h
poll.h [PATCH] POLLRDHUP/EPOLLRDHUP handling for half-closed devices notifications 2006-03-25 08:22:56 -08:00
posix_types.h
prctl.h
prefetch.h
processor.h
ptrace.h
qemu.h
r4kcache.h
reboot.h
reg.h
regdef.h
resource.h
rtc.h
rtlx.h
scatterlist.h
sections.h
segment.h
semaphore.h
sembuf.h
serial.h [SERIAL] Remove obsoleted au1x00_uart driver 2006-03-26 21:25:57 +01:00
setup.h
sgialib.h
sgiarcs.h
sgidefs.h
shmbuf.h
shmparam.h
sigcontext.h
siginfo.h
signal.h
sim.h
smp.h
sni.h
socket.h
sockios.h
spinlock_types.h
spinlock.h
stackframe.h
stat.h
statfs.h
string.h
suspend.h
sysmips.h
system.h
termbits.h It's UTF-8 2006-03-22 00:13:35 +01:00
termios.h
thread_info.h
time.h [PATCH] mips: fixed collision of rtc function name 2006-03-27 08:44:50 -08:00
timex.h
titan_dep.h
tlb.h
tlbdebug.h
tlbflush.h
topology.h
traps.h
tx3912.h
types.h [PATCH] 2TB files: add blkcnt_t 2006-03-26 08:57:00 -08:00
uaccess.h
ucontext.h
unaligned.h
unistd.h
user.h
vga.h
war.h
watch.h
wbflush.h
xor.h
xxs1500.h