projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5b922cd
)
[PATCH] x86_64: Limit max number of CPUs to 255
author
Andi Kleen
<ak@suse.de>
Sat, 25 Mar 2006 15:30:58 +0000
(16:30 +0100)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Sat, 25 Mar 2006 17:10:56 +0000
(09:10 -0800)
Because 256 causes overflows in some code that stores them in 8 bit
fields and the x86 APIC architecture cannot handle more than 255
anyways.
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/x86_64/Kconfig
patch
|
blob
|
blame
|
history
diff --git
a/arch/x86_64/Kconfig
b/arch/x86_64/Kconfig
index 24a3016c079ddc0f15806df3365e565b4a06fbfb..6fc631457196b871f815a2929b35200f402498b1 100644
(file)
--- a/
arch/x86_64/Kconfig
+++ b/
arch/x86_64/Kconfig
@@
-323,7
+323,7
@@
config HAVE_ARCH_EARLY_PFN_TO_NID
config NR_CPUS
int "Maximum number of CPUs (2-256)"
- range 2 25
6
+ range 2 25
5
depends on SMP
default "8"
help