]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/x86/kernel/apic_64.c
x86: apic - unify lapic_is_integrated
[linux-2.6-omap-h63xx.git] / arch / x86 / kernel / apic_64.c
index 46523c0cc6f6db438587f84d79b000b1f47ad08b..18c0b8cd23765a66307ec0cf4c5ddcc500d29a0f 100644 (file)
@@ -111,11 +111,15 @@ static inline int lapic_get_version(void)
 }
 
 /*
- * Check, if the APIC is integrated or a seperate chip
+ * Check, if the APIC is integrated or a separate chip
  */
 static inline int lapic_is_integrated(void)
 {
+#ifdef CONFIG_X86_64
        return 1;
+#else
+       return APIC_INTEGRATED(lapic_get_version());
+#endif
 }
 
 /*