]> Pileus Git - ~andy/linux/blobdiff - include/asm-x86_64/smp.h
Remove hardcoding of hard_smp_processor_id on UP systems
[~andy/linux] / include / asm-x86_64 / smp.h
index d5704421456b5016dd6b23e2aef538fffb209b45..f62fda527439744e1f9b991341fe5a80a7bf1ea3 100644 (file)
@@ -71,7 +71,9 @@ extern unsigned __cpuinitdata disabled_cpus;
 
 #define NO_PROC_ID             0xFF            /* No processor magic marker */
 
-#endif
+#else /* CONFIG_SMP */
+#define hard_smp_processor_id() 0
+#endif /* CONFIG_SMP */
 
 /*
  * Some lowlevel functions might want to know about