x64, x2apic/intr-remap: basic apic ops support
[deliverable/linux.git] / include / asm-x86 / smp.h
index 9848715fbd9ef7b448d6089b64f2dd8d3bd47c3d..d9d007d227855a0c3fee1bb8f014d4bd0df22fd6 100644 (file)
@@ -158,13 +158,13 @@ extern int safe_smp_processor_id(void);
 
 #ifdef CONFIG_X86_LOCAL_APIC
 
+#ifndef CONFIG_X86_64
 static inline int logical_smp_processor_id(void)
 {
        /* we don't want to mark this access volatile - bad code generation */
        return GET_APIC_LOGICAL_ID(*(u32 *)(APIC_BASE + APIC_LDR));
 }
 
-#ifndef CONFIG_X86_64
 static inline unsigned int read_apic_id(void)
 {
        return *(u32 *)(APIC_BASE + APIC_ID);
This page took 0.046497 seconds and 5 git commands to generate.