summaryrefslogtreecommitdiffstats
path: root/include/asm-ia64/smp.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-ia64/smp.h')
-rw-r--r--include/asm-ia64/smp.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/asm-ia64/smp.h b/include/asm-ia64/smp.h
index 60fd4ae..62014b6 100644
--- a/include/asm-ia64/smp.h
+++ b/include/asm-ia64/smp.h
@@ -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()
OpenPOWER on IntegriCloud