summaryrefslogtreecommitdiffstats
path: root/include/asm-um/smp.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-um/smp.h')
-rw-r--r--include/asm-um/smp.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/asm-um/smp.h b/include/asm-um/smp.h
index ca552261ed1..84f8cf29324 100644
--- a/include/asm-um/smp.h
+++ b/include/asm-um/smp.h
@@ -24,6 +24,10 @@ extern inline void smp_cpus_done(unsigned int maxcpus)
extern struct task_struct *idle_threads[NR_CPUS];
+#else
+
+#define hard_smp_processor_id() 0
+
#endif
#endif