diff options
Diffstat (limited to 'arch/i386/kernel/apic.c')
-rw-r--r-- | arch/i386/kernel/apic.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/arch/i386/kernel/apic.c b/arch/i386/kernel/apic.c index 1a34fc57800b..ce75e71b694f 100644 --- a/arch/i386/kernel/apic.c +++ b/arch/i386/kernel/apic.c | |||
@@ -1372,3 +1372,18 @@ int __init APIC_init_uniprocessor (void) | |||
1372 | 1372 | ||
1373 | return 0; | 1373 | return 0; |
1374 | } | 1374 | } |
1375 | |||
1376 | static int __init parse_lapic(char *arg) | ||
1377 | { | ||
1378 | lapic_enable(); | ||
1379 | return 0; | ||
1380 | } | ||
1381 | early_param("lapic", parse_lapic); | ||
1382 | |||
1383 | static int __init parse_nolapic(char *arg) | ||
1384 | { | ||
1385 | lapic_disable(); | ||
1386 | return 0; | ||
1387 | } | ||
1388 | early_param("nolapic", parse_nolapic); | ||
1389 | |||