2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-22 20:23:57 +08:00
linux-next/arch
David S. Miller 22adb358e8 [SPARC64]: Eliminate NR_CPUS limitations.
Cheetah systems can have cpuids as large as 1023, although physical
systems don't have that many cpus.

Only three limitations existed in the kernel preventing arbitrary
NR_CPUS values:

1) dcache dirty cpu state stored in page->flags on
   D-cache aliasing platforms.  With some build time
   calculations and some build-time BUG checks on
   page->flags layout, this one was easily solved.

2) The cheetah XCALL delivery code could only handle
   a cpumask with up to 32 cpus set.  Some simple looping
   logic clears that up too.

3) thread_info->cpu was a u8, easily changed to a u16.

There are a few spots in the kernel that still put NR_CPUS
sized arrays on the kernel stack, but that's not a sparc64
specific problem.

Signed-off-by: David S. Miller <davem@davemloft.net>
2007-05-29 02:49:49 -07:00
..
alpha all-archs: consolidate .data section definition in asm-generic 2007-05-19 09:11:57 +02:00
arm Merge git://git.kernel.org/pub/scm/linux/kernel/git/sam/kbuild-fix 2007-05-21 12:03:04 -07:00
arm26 all-archs: consolidate .data section definition in asm-generic 2007-05-19 09:11:57 +02:00
avr32 all-archs: consolidate .data section definition in asm-generic 2007-05-19 09:11:57 +02:00
blackfin Merge git://git.kernel.org/pub/scm/linux/kernel/git/sam/kbuild-fix 2007-05-21 12:03:04 -07:00
cris Fix trivial typos in Kconfig* files 2007-05-09 07:12:20 +02:00
frv all-archs: consolidate .data section definition in asm-generic 2007-05-19 09:11:57 +02:00
h8300 all-archs: consolidate .data section definition in asm-generic 2007-05-19 09:11:57 +02:00
i386 i386 bigsmp: section mismatch fixes 2007-05-23 20:14:15 -07:00
ia64 [IA64] acpi_get_sysname() should be __init 2007-05-24 10:59:44 -07:00
m32r all-archs: consolidate .data section definition in asm-generic 2007-05-19 09:11:57 +02:00
m68k all-archs: consolidate .data section definition in asm-generic 2007-05-19 09:11:57 +02:00
m68knommu all-archs: consolidate .data section definition in asm-generic 2007-05-19 09:11:57 +02:00
mips meth driver renovation 2007-05-24 17:20:49 -04:00
parisc Merge git://git.kernel.org/pub/scm/linux/kernel/git/sam/kbuild-fix 2007-05-21 12:03:04 -07:00
powerpc [POWERPC] Fix warning in 32-bit builds with CONFIG_HIGHMEM 2007-05-22 20:20:57 +10:00
ppc all-archs: consolidate .data section definition in asm-generic 2007-05-19 09:11:57 +02:00
s390 Merge git://git.kernel.org/pub/scm/linux/kernel/git/sam/kbuild-fix 2007-05-21 12:03:04 -07:00
sh Merge master.kernel.org:/pub/scm/linux/kernel/git/lethal/sh-2.6 2007-05-22 17:26:18 -07:00
sh64 all-archs: consolidate .data section definition in asm-generic 2007-05-19 09:11:57 +02:00
sparc [SPARC32]: Removes mismatch section warnigs in sparc time.c file 2007-05-29 02:49:16 -07:00
sparc64 [SPARC64]: Eliminate NR_CPUS limitations. 2007-05-29 02:49:49 -07:00
um uml: improve PTRACE_SYSEMU checking 2007-05-23 20:14:12 -07:00
v850 all-archs: consolidate .data section definition in asm-generic 2007-05-19 09:11:57 +02:00
x86_64 i386, x86-64: show that CONFIG_HOTPLUG_CPU is required for suspend on SMP 2007-05-23 20:14:14 -07:00
xtensa all-archs: consolidate .data section definition in asm-generic 2007-05-19 09:11:57 +02:00