android_kernel_xiaomi_sm8350/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 [MIPS] IP32: Fix sparse warnings. 2005-11-17 16:23:48 +00:00
it8172
jmr3927
lasat
mach-atlas
mach-au1x00 [MIPS] Au1200: Make KGDB compile 2006-02-07 13:30:23 +00:00
mach-cobalt [MIPS] Add early console for Cobalt. 2006-03-21 13:27:44 +00:00
mach-db1x00 [MIPS] Add missing arch defines for the Alchemy MTD driver. 2005-11-17 16:23:42 +00:00
mach-ddb5074
mach-dec
mach-ev64120
mach-ev96100
mach-generic [MIPS] Make I/O helpers more customizable 2006-03-21 13:27:45 +00:00
mach-ip22 MIPS: Introduce machinery for testing for MIPSxxR1/2. 2006-01-10 13:39:06 +00:00
mach-ip27 [MIPS] Make I/O helpers more customizable 2006-03-21 13:27:45 +00:00
mach-ip32 [MIPS] Make I/O helpers more customizable 2006-03-21 13:27:45 +00:00
mach-ja MIPS: Introduce machinery for testing for MIPSxxR1/2. 2006-01-10 13:39:06 +00:00
mach-jazz
mach-jmr3927 [MIPS] JMR3927: Fix include wrapper symbol. 2005-11-17 16:23:54 +00:00
mach-lasat
mach-mips [PATCH] USB: EHCI for AU1200 2006-03-20 14:49:55 -08:00
mach-ocelot
mach-ocelot3 MIPS: Introduce machinery for testing for MIPSxxR1/2. 2006-01-10 13:39:06 +00:00
mach-pb1x00 [MIPS] Add missing arch defines for the Alchemy MTD driver. 2005-11-17 16:23:42 +00:00
mach-pnx8550
mach-qemu [MIPS] Qemu: Qemu is emulating a 1193.182kHz i8254 PIC. 2005-12-01 11:05:15 +00:00
mach-rm200 [MIPS] RM200: Give RM200 it's own timex.h. 2006-02-14 19:13:23 +00:00
mach-sibyte
mach-sim
mach-yosemite MIPS: Introduce machinery for testing for MIPSxxR1/2. 2006-01-10 13:39:06 +00:00
mips-boards [MIPS] SEAD: More build fixes. 2005-11-17 16:23:57 +00:00
pci
sgi
sibyte [MIPS] Sibyte: Fix race in sb1250_gettimeoffset(). 2006-03-18 16:59:30 +00:00
sn [MIPS] War on whitespace: cleanup initial spaces followed by tabs. 2006-03-21 13:27:47 +00:00
tx4927 [MIPS] TX49x7: Fix reporting of the CPU name and PCI clock 2006-02-07 13:30:26 +00:00
tx4938
vr41xx Update Yoichi Yuasa's email address. 2006-01-10 13:39:07 +00:00
xtalk
8253pit.h
a.out.h
abi.h [MIPS] Make do_signal return void. 2006-02-08 17:52:25 +00:00
addrspace.h
asm.h
asmmacro-32.h
asmmacro-64.h
asmmacro.h
atomic.h [MIPS] Fix atomic*_sub_if_positive return value. 2006-02-27 17:30:36 +00:00
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 [MIPS] MIPS64 R2 optimizations for 64-bit endianess swapping. 2006-03-21 13:27:44 +00:00
cache.h [PATCH] Kill L1_CACHE_SHIFT_MAX 2006-01-08 20:13:39 -08:00
cachectl.h
cacheflush.h [MIPS] Remove wrong __user tags. 2006-02-07 13:30:25 +00:00
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 [MIPS] local_r4k_flush_cache_page fix 2006-03-18 16:59:27 +00:00
cpu-info.h [MIPS] local_r4k_flush_cache_page fix 2006-03-18 16:59:27 +00:00
cpu.h [MIPS] Fix CPU type bitmasks for MIPS III, IV and V. 2006-02-14 19:13:25 +00:00
cputime.h
current.h
ddb5074.h
debug.h
delay.h MIPS: Fix mdelay(1) for 64bit kernel with HZ == 1000 2006-01-10 13:39:04 +00:00
div64.h
dma-mapping.h
dma.h
ds1286.h
dsp.h MIPS: DSP: Set all register masks to 0x3ff. 2006-01-10 13:39:04 +00:00
elf.h MIPS: Namespace pollution: dump_regs() -> elf_dump_regs() 2006-01-10 13:39:08 +00:00
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 [MIPS] SB1: Fix interrupt disable hazard. 2006-03-18 16:59:26 +00:00
highmem.h
hw_irq.h
i8259.h
ide.h
inst.h
interrupt.h [MIPS] TX49 MFC0 bug workaround 2006-02-07 13:30:26 +00:00
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 MIPS: DSP: Put mask field into the right place. 2006-01-10 13:39:05 +00:00
mman.h [PATCH] add asm-generic/mman.h 2006-02-15 15:32:22 -08:00
mmu_context.h [MIPS] Remove CONFIG_BUILD_ELF64. 2006-03-21 13:27:46 +00:00
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 [PATCH] mutex subsystem, add default include/asm-*/mutex.h files 2006-01-09 15:59:19 -08:00
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 [MIPS] War on whitespace: cleanup initial spaces followed by tabs. 2006-03-21 13:27:47 +00:00
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 [PATCH] mips: task_stack_page() 2006-01-12 09:08:59 -08:00
ptrace.h
qemu.h
r4kcache.h [MIPS] sc-rm7k.c cleanup 2006-03-21 13:27:45 +00:00
reboot.h [MIPS] Rename _machine_power_off to pm_power_off so the kernel builds again. 2006-02-07 13:30:22 +00:00
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 [MIPS] Signal cleanup 2006-03-21 13:27:46 +00:00
sim.h
smp.h [MIPS] SMP: Fix initialization order bug. 2006-02-27 17:30:36 +00:00
sni.h
socket.h
sockios.h
spinlock_types.h
spinlock.h
stackframe.h [MIPS] Remove CONFIG_BUILD_ELF64. 2006-03-21 13:27:46 +00:00
stat.h
statfs.h
string.h [MIPS] Remove buggy inline version of memscan. 2006-02-07 13:30:25 +00:00
suspend.h
sysmips.h
system.h [MIPS] Reformat __xchg(). 2006-03-21 13:27:47 +00:00
termbits.h It's UTF-8 2006-03-22 00:13:35 +01:00
termios.h
thread_info.h [MIPS] War on whitespace: cleanup initial spaces followed by tabs. 2006-03-21 13:27:47 +00:00
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 [MIPS] Fixes for uaccess.h with gcc >= 4.0.1 2006-02-21 16:58:22 +00:00
ucontext.h
unaligned.h
unistd.h [MIPS] Follow Uli's latest *at syscall changes. 2006-02-21 16:58:23 +00:00
user.h
vga.h [MIPS] Undefine scr_writew and scr_readw in <asm/vga.h>. 2006-03-09 18:05:10 +00:00
war.h
watch.h
wbflush.h
xor.h
xxs1500.h