aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/asm-x86/smp.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/asm-x86/smp.h b/include/asm-x86/smp.h
index fad45f6a193..b324a0645a7 100644
--- a/include/asm-x86/smp.h
+++ b/include/asm-x86/smp.h
@@ -119,6 +119,10 @@ static inline int num_booting_cpus(void)
{
return cpus_weight(cpu_callout_map);
}
+#else
+static inline void prefill_possible_map(void)
+{
+}
#endif /* CONFIG_SMP */
extern unsigned disabled_cpus __cpuinitdata;