artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2eb244e
)
more #ifdef needed for the case of not pegging on a non-MP kernel
author
deraadt
<deraadt@openbsd.org>
Wed, 28 Jul 2010 16:15:25 +0000
(16:15 +0000)
committer
deraadt
<deraadt@openbsd.org>
Wed, 28 Jul 2010 16:15:25 +0000
(16:15 +0000)
sys/kern/kern_xxx.c
patch
|
blob
|
history
diff --git
a/sys/kern/kern_xxx.c
b/sys/kern/kern_xxx.c
index
594fd72
..
c03be03
100644
(file)
--- a/
sys/kern/kern_xxx.c
+++ b/
sys/kern/kern_xxx.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: kern_xxx.c,v 1.1
7 2010/07/28 15:59:38 kettenis Exp $
*/
+/* $OpenBSD: kern_xxx.c,v 1.1
8 2010/07/28 16:15:25 deraadt Exp $
*/
/* $NetBSD: kern_xxx.c,v 1.32 1996/04/22 01:38:41 christos Exp $ */
/*
@@
-51,8
+51,10
@@
sys_reboot(struct proc *p, void *v, register_t *retval)
struct sys_reboot_args /* {
syscallarg(int) opt;
} */ *uap = v;
+#ifdef MULTIPROCESSOR
CPU_INFO_ITERATOR cii;
struct cpu_info *ci;
+#endif
int error;
if ((error = suser(p, 0)) != 0)