artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b9d12f9
)
Repair compilability for non-MULTIPROCESSOR kernels.
author
miod
<miod@openbsd.org>
Sat, 12 Aug 2023 13:19:28 +0000
(13:19 +0000)
committer
miod
<miod@openbsd.org>
Sat, 12 Aug 2023 13:19:28 +0000
(13:19 +0000)
sys/kern/kern_clock.c
patch
|
blob
|
history
diff --git
a/sys/kern/kern_clock.c
b/sys/kern/kern_clock.c
index
1e97ba8
..
06c0d5f
100644
(file)
--- a/
sys/kern/kern_clock.c
+++ b/
sys/kern/kern_clock.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: kern_clock.c,v 1.11
2 2023/08/11 22:02:50 cheloha Exp $
*/
+/* $OpenBSD: kern_clock.c,v 1.11
3 2023/08/12 13:19:28 miod Exp $
*/
/* $NetBSD: kern_clock.c,v 1.34 1996/06/09 04:51:03 briggs Exp $ */
/*-
@@
-111,7
+111,9
@@
initclocks(void)
void
hardclock(struct clockframe *frame)
{
+#if defined(MULTIPROCESSOR) || defined(__hppa__) /* XXX */
struct cpu_info *ci = curcpu();
+#endif
#if NDT > 0
DT_ENTER(profile, NULL);