diff options
author | Yinghai Lu <yinghai@kernel.org> | 2009-02-16 20:29:58 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-02-17 06:22:20 -0500 |
commit | 06cd9a7dc8a58186060a91b6ddc031057435fd34 (patch) | |
tree | cc015c3a966f31ef77cb458e0b480ffc0eb12acd /arch/x86/kernel/setup.c | |
parent | 9f361c221912b6ffa1f7836e0bbf843917f6fce7 (diff) |
x86: add x2apic config
Impact: cleanup
so could deselect x2apic
and INTR_REMAP will select x2apic
Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/setup.c')
-rw-r--r-- | arch/x86/kernel/setup.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/x86/kernel/setup.c b/arch/x86/kernel/setup.c index 8fce6c714514..43d964411c0d 100644 --- a/arch/x86/kernel/setup.c +++ b/arch/x86/kernel/setup.c | |||
@@ -836,8 +836,7 @@ void __init setup_arch(char **cmdline_p) | |||
836 | #else | 836 | #else |
837 | num_physpages = max_pfn; | 837 | num_physpages = max_pfn; |
838 | 838 | ||
839 | if (cpu_has_x2apic) | 839 | check_x2apic(); |
840 | check_x2apic(); | ||
841 | 840 | ||
842 | /* How many end-of-memory variables you have, grandma! */ | 841 | /* How many end-of-memory variables you have, grandma! */ |
843 | /* need this before calling reserve_initrd */ | 842 | /* need this before calling reserve_initrd */ |