]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-m32r/smp.h
bus_remove_device: be more careful about incomplete initialization
[linux-2.6-omap-h63xx.git] / include / asm-m32r / smp.h
index 650d2558c304c1e271e034c54246e8203f6bc3e5..078e1a51a042a74a6eeda6c48d3f8882a466f2fc 100644 (file)
@@ -1,9 +1,6 @@
 #ifndef _ASM_M32R_SMP_H
 #define _ASM_M32R_SMP_H
 
-/* $Id$ */
-
-
 #ifdef CONFIG_SMP
 #ifndef __ASSEMBLY__
 
@@ -111,6 +108,10 @@ extern unsigned long send_IPI_mask_phys(cpumask_t, int, int);
 #define IPI_SHIFT      (0)
 #define NR_IPIS                (8)
 
-#endif /* CONFIG_SMP */
+#else  /* CONFIG_SMP */
+
+#define hard_smp_processor_id()                0
+
+#endif /* CONFIG_SMP */
 
 #endif /* _ASM_M32R_SMP_H */