summaryrefslogtreecommitdiffstats
path: root/sys/i386/include/smp.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/i386/include/smp.h')
-rw-r--r--sys/i386/include/smp.h19
1 files changed, 18 insertions, 1 deletions
diff --git a/sys/i386/include/smp.h b/sys/i386/include/smp.h
index c2340ae..c11bcb2 100644
--- a/sys/i386/include/smp.h
+++ b/sys/i386/include/smp.h
@@ -183,6 +183,23 @@ extern int smp_started;
extern volatile int smp_idle_loops;
#endif /* !LOCORE */
-#endif /* SMP || APIC_IO */
+#else /* !SMP && !APIC_IO */
+
+/*
+ * Create dummy MP lock empties
+ */
+
+static __inline void
+get_mplock(void)
+{
+}
+
+static __inline void
+rel_mplock(void)
+{
+}
+
+#endif
+
#endif /* _KERNEL */
#endif /* _MACHINE_SMP_H_ */
OpenPOWER on IntegriCloud