kernel-hacking-2024-linux-s.../include/asm-sh
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
..
adx
bigsur
cat68701
cpu-sh2
cpu-sh3 [PATCH] sh: Move TRA/EXPEVT/INTEVT definitions for reuse 2006-02-01 08:53:19 -08:00
cpu-sh4 [PATCH] sh: Move TRA/EXPEVT/INTEVT definitions for reuse 2006-02-01 08:53:19 -08:00
cqreek
dmida
dreamcast
ec3104
edosk7705
harp
hd64461
hd64465
hp6xx
hs7751rvoip
mpc1211
overdrive
rts7751r2d
saturn
se
se7300
se7751
se73180
sh03
sh2000
snapgear
systemh
a.out.h
adc.h
addrspace.h [PATCH] Typo fixes 2006-03-28 09:16:08 -08:00
atomic.h [PATCH] mutex subsystem, add atomic_xchg() to all arches 2006-01-09 15:59:17 -08:00
auxvec.h
bitops.h [PATCH] bitops: sh: use generic bitops 2006-03-26 08:57:14 -08:00
bug.h
bugs.h
byteorder.h
cache.h [PATCH] Kill L1_CACHE_SHIFT_MAX 2006-01-08 20:13:39 -08:00
cacheflush.h
checksum.h
clock.h [PATCH] sh: Simplistic clock framework 2006-01-16 23:15:28 -08:00
cputime.h
current.h
delay.h
div64.h
dma-mapping.h [PATCH] sh: DMA updates 2006-01-16 23:15:27 -08:00
dma.h [PATCH] sh: DMA updates 2006-01-16 23:15:27 -08:00
elf.h [PATCH] fix remaining missing includes 2005-11-07 07:53:41 -08:00
emergency-restart.h
errno.h
fcntl.h [PATCH] Clean up struct flock64 definitions 2005-09-07 16:57:38 -07:00
fixmap.h
flat.h
floppy.h
freq.h [PATCH] sh: Simplistic clock framework 2006-01-16 23:15:28 -08:00
futex.h [PATCH] consolidate asm/futex.h 2006-01-08 20:13:39 -08:00
hardirq.h
hw_irq.h
ide.h [PATCH] ide: move CONFIG_IDE_MAX_HWIFS into linux/ide.h 2005-11-09 22:58:07 +01:00
io.h [PATCH] remove ISA legacy functions: remove the helpers 2006-03-24 07:33:19 -08:00
io_generic.h [PATCH] sh: I/O routine cleanups and ioremap() overhaul 2006-01-16 23:15:28 -08:00
ioctl.h [PATCH] Generic ioctl.h 2006-01-10 08:01:34 -08:00
ioctls.h [PATCH] sh/sh64: Fix bogus TIOCGICOUNT definitions 2006-02-01 08:53:20 -08:00
ipc.h
ipcbuf.h
irq-sh7780.h [PATCH] sh: drop maskpos from make_ipr_irq(), remove duplicate irq definitions 2006-02-01 08:53:20 -08:00
irq-sh73180.h [PATCH] sh: drop maskpos from make_ipr_irq(), remove duplicate irq definitions 2006-02-01 08:53:20 -08:00
irq.h [PATCH] sh: drop maskpos from make_ipr_irq(), remove duplicate irq definitions 2006-02-01 08:53:20 -08:00
kexec.h [PATCH] sh: kexec() support 2006-01-16 23:15:27 -08:00
keyboard.h
kgdb.h
kmap_types.h
linkage.h
local.h
machvec.h [PATCH] sh: I/O routine cleanups and ioremap() overhaul 2006-01-16 23:15:28 -08:00
machvec_init.h
mc146818rtc.h
microdev.h [PATCH] sh: SH4-202 microdev updates 2006-02-01 08:53:19 -08:00
mman.h [PATCH] add asm-generic/mman.h 2006-02-15 15:32:22 -08:00
mmu.h
mmu_context.h
module.h
msgbuf.h
mutex.h [PATCH] mutex subsystem, add default include/asm-*/mutex.h files 2006-01-09 15:59:19 -08:00
namei.h
page.h [PATCH] unify pfn_to_page: sh pfn_to_page 2006-03-27 08:44:46 -08:00
param.h
pci.h
percpu.h
pgalloc.h
pgtable-2level.h
pgtable.h [PATCH] fix remaining missing includes 2005-11-07 07:53:41 -08:00
poll.h [PATCH] POLLRDHUP/EPOLLRDHUP handling for half-closed devices notifications 2006-03-25 08:22:56 -08:00
posix_types.h
processor.h [PATCH] sh: Cleanup struct sh_cpuinfo for clock framework changes 2006-02-01 08:53:19 -08:00
ptrace.h [PATCH] sh: task_stack_page() 2006-01-12 09:08:53 -08:00
resource.h
rtc.h
rwsem.h [PATCH] add sem_is_read/write_locked() 2005-10-29 21:40:35 -07:00
scatterlist.h
sections.h
segment.h
semaphore-helper.h
semaphore.h [PATCH] semaphore: Remove __MUTEX_INITIALIZER() 2005-10-30 17:37:27 -08:00
sembuf.h
serial.h
setup.h
sh_bios.h
shmbuf.h
shmparam.h
sigcontext.h
siginfo.h
signal.h
smp.h
socket.h
sockios.h
spinlock.h [PATCH] spinlock consolidation 2005-09-10 10:06:21 -07:00
spinlock_types.h [PATCH] spinlock consolidation 2005-09-10 10:06:21 -07:00
stat.h [PATCH] 2TB files: st_blocks is invalid when calling stat64 2006-03-26 08:57:00 -08:00
statfs.h
string.h
system.h [PATCH] sched: add cacheflush() asm 2006-01-12 09:08:49 -08:00
termbits.h
termios.h
thread_info.h [PATCH] bitops: sh: make thread_info.flags an unsigned long 2006-03-26 08:57:15 -08:00
timer.h [PATCH] sh: Simple timer framework 2006-01-16 23:15:28 -08:00
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 [PATCH] remove verify_area(): remove verify_area() from various uaccess.h headers 2005-09-07 16:57:35 -07:00
ubc.h
ucontext.h
unaligned.h
unistd.h [PATCH] unify sys_ptrace prototype 2005-10-30 17:37:20 -08:00
user.h
watchdog.h
xor.h