summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/vm/uma_core.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/sys/vm/uma_core.c b/sys/vm/uma_core.c
index 0d70ed2..4aa5576 100644
--- a/sys/vm/uma_core.c
+++ b/sys/vm/uma_core.c
@@ -127,6 +127,14 @@ static int uma_boot_free = 0;
static int booted = 0;
/*
+ * Rather than #ifdef SMP all over, just give us a bogus definition for
+ * this on UP.
+ */
+#ifndef SMP
+static int mp_maxid = 1;
+#endif
+
+/*
* This is the handle used to schedule events that need to happen
* outside of the allocation fast path.
*/
OpenPOWER on IntegriCloud