diff options
-rw-r--r-- | sys/kern/kern_xxx.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/kern_xxx.c b/sys/kern/kern_xxx.c index abe7c4be0df..594fd72aebb 100644 --- a/sys/kern/kern_xxx.c +++ b/sys/kern/kern_xxx.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kern_xxx.c,v 1.16 2010/04/06 20:33:28 kettenis Exp $ */ +/* $OpenBSD: kern_xxx.c,v 1.17 2010/07/28 15:59:38 kettenis Exp $ */ /* $NetBSD: kern_xxx.c,v 1.32 1996/04/22 01:38:41 christos Exp $ */ /* @@ -58,6 +58,7 @@ sys_reboot(struct proc *p, void *v, register_t *retval) if ((error = suser(p, 0)) != 0) return (error); +#ifdef MULTIPROCESSOR /* * Make sure this thread only runs on the primary cpu. */ @@ -68,7 +69,6 @@ sys_reboot(struct proc *p, void *v, register_t *retval) } } -#ifdef MULTIPROCESSOR sched_stop_secondary_cpus(); #endif |