]> Pileus Git - ~andy/linux/blobdiff - include/asm-ia64/smp.h
Remove hardcoding of hard_smp_processor_id on UP systems
[~andy/linux] / include / asm-ia64 / smp.h
index 60fd4ae014f6fbe8a3fe19b8e9171a7e277f609e..62014b643ecd2df5164e8617cadf25f606db821f 100644 (file)
@@ -128,8 +128,9 @@ extern void unlock_ipi_calllock(void);
 extern void identify_siblings (struct cpuinfo_ia64 *);
 extern int is_multithreading_enabled(void);
 
-#else
+#else /* CONFIG_SMP */
 
+#define hard_smp_processor_id()                0
 #define cpu_logical_id(i)              0
 #define cpu_physical_id(i)             ia64_get_lid()