x86: add safe_smp_processor_id for x86_64
[powerpc.git] / include / asm-x86 / smp_64.h
index 6f0e027..ab612b0 100644 (file)
@@ -76,6 +76,8 @@ extern unsigned __cpuinitdata disabled_cpus;
 
 #endif /* CONFIG_SMP */
 
+#define safe_smp_processor_id()                smp_processor_id()
+
 static inline int hard_smp_processor_id(void)
 {
        /* we don't want to mark this access volatile - bad code generation */