]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/x86/kernel/apic_64.c
x86: apic - introduce get_physical_broadcast for 64bit
[linux-2.6-omap-h63xx.git] / arch / x86 / kernel / apic_64.c
index 8f551276681e0e1239b57d09383fb7687ddeb5a7..bb46711a0b1eba21eca78b416d26d899eee859d4 100644 (file)
@@ -244,6 +244,16 @@ void __cpuinit enable_NMI_through_LVT0(void)
        apic_write(APIC_LVT0, v);
 }
 
+#ifdef CONFIG_X86_32
+/**
+ * get_physical_broadcast - Get number of physical broadcast IDs
+ */
+int get_physical_broadcast(void)
+{
+       return modern_apic() ? 0xff : 0xf;
+}
+#endif
+
 /**
  * lapic_get_maxlvt - get the maximum number of local vector table entries
  */