summaryrefslogtreecommitdiffstats
path: root/include/asm-m32r/smp.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-m32r/smp.h')
-rw-r--r--include/asm-m32r/smp.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/asm-m32r/smp.h b/include/asm-m32r/smp.h
index abd937a..078e1a5 100644
--- a/include/asm-m32r/smp.h
+++ b/include/asm-m32r/smp.h
@@ -108,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 */
OpenPOWER on IntegriCloud