diff options
Diffstat (limited to 'arch/x86/kernel/smpboot.c')
-rw-r--r-- | arch/x86/kernel/smpboot.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/x86/kernel/smpboot.c b/arch/x86/kernel/smpboot.c index c35cd319d1ed..34c31178041b 100644 --- a/arch/x86/kernel/smpboot.c +++ b/arch/x86/kernel/smpboot.c | |||
@@ -268,3 +268,15 @@ void __cpu_die(unsigned int cpu) | |||
268 | } | 268 | } |
269 | #endif | 269 | #endif |
270 | 270 | ||
271 | /* | ||
272 | * If the BIOS enumerates physical processors before logical, | ||
273 | * maxcpus=N at enumeration-time can be used to disable HT. | ||
274 | */ | ||
275 | static int __init parse_maxcpus(char *arg) | ||
276 | { | ||
277 | extern unsigned int maxcpus; | ||
278 | |||
279 | maxcpus = simple_strtoul(arg, NULL, 0); | ||
280 | return 0; | ||
281 | } | ||
282 | early_param("maxcpus", parse_maxcpus); | ||