diff options
Diffstat (limited to 'arch/i386/kernel/smpboot.c')
-rw-r--r-- | arch/i386/kernel/smpboot.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/i386/kernel/smpboot.c b/arch/i386/kernel/smpboot.c index 9367af76ce37..517eb3874550 100644 --- a/arch/i386/kernel/smpboot.c +++ b/arch/i386/kernel/smpboot.c | |||
@@ -1491,3 +1491,16 @@ void __init smp_intr_init(void) | |||
1491 | /* IPI for generic function call */ | 1491 | /* IPI for generic function call */ |
1492 | set_intr_gate(CALL_FUNCTION_VECTOR, call_function_interrupt); | 1492 | set_intr_gate(CALL_FUNCTION_VECTOR, call_function_interrupt); |
1493 | } | 1493 | } |
1494 | |||
1495 | /* | ||
1496 | * If the BIOS enumerates physical processors before logical, | ||
1497 | * maxcpus=N at enumeration-time can be used to disable HT. | ||
1498 | */ | ||
1499 | static int __init parse_maxcpus(char *arg) | ||
1500 | { | ||
1501 | extern unsigned int maxcpus; | ||
1502 | |||
1503 | maxcpus = simple_strtoul(arg, NULL, 0); | ||
1504 | return 0; | ||
1505 | } | ||
1506 | early_param("maxcpus", parse_maxcpus); | ||