diff options
author | Cyrill Gorcunov <gorcunov@gmail.com> | 2008-08-16 15:21:54 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-08-17 08:41:50 -0400 |
commit | 9c803869f5f5e3d7ad94b2926474b2882e30073b (patch) | |
tree | cdd80a3c161e0c4da171495e2c53780e7b8e9504 /arch/x86/kernel/apic_32.c | |
parent | 274cfe5912eebe9d4e1a4c451fe617289a181fcf (diff) |
x86: apic - unify lapic_is_integrated
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/apic_32.c')
-rw-r--r-- | arch/x86/kernel/apic_32.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/x86/kernel/apic_32.c b/arch/x86/kernel/apic_32.c index 9e8702eebd46..41134d4e6a66 100644 --- a/arch/x86/kernel/apic_32.c +++ b/arch/x86/kernel/apic_32.c | |||
@@ -128,7 +128,11 @@ static inline int lapic_get_version(void) | |||
128 | */ | 128 | */ |
129 | static inline int lapic_is_integrated(void) | 129 | static inline int lapic_is_integrated(void) |
130 | { | 130 | { |
131 | #ifdef CONFIG_X86_64 | ||
132 | return 1; | ||
133 | #else | ||
131 | return APIC_INTEGRATED(lapic_get_version()); | 134 | return APIC_INTEGRATED(lapic_get_version()); |
135 | #endif | ||
132 | } | 136 | } |
133 | 137 | ||
134 | /* | 138 | /* |