From d26b674d3960781307bf7c45b51f937134aadb68 Mon Sep 17 00:00:00 2001 From: jeff Date: Sun, 30 Nov 2003 22:18:14 +0000 Subject: - Unbreak UP. mp_maxid is not defined on uni-processor machines, although I believe it and the other MP variables should be. For now, just define it here and wait for jhb to clean it up later. Approved by: re (rwatson) --- sys/vm/uma_core.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'sys') 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. */ -- cgit v1.1