summaryrefslogtreecommitdiff
path: root/sys/kern/kern_clock.c
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2001-02-09 17:46:35 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2001-02-09 17:46:35 +0000
commit062d8ff5a0138cf399be8b11621279dfdf961c89 (patch)
treed7c3126aa03554e99e3b7fd7bd4461084b0ca3bb /sys/kern/kern_clock.c
parentb4151f7101f86111f11644ffa24136d088f9ecd5 (diff)
Notes
Diffstat (limited to 'sys/kern/kern_clock.c')
-rw-r--r--sys/kern/kern_clock.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/kern_clock.c b/sys/kern/kern_clock.c
index 0743c6cf7bab..fb4b4a6e3a02 100644
--- a/sys/kern/kern_clock.c
+++ b/sys/kern/kern_clock.c
@@ -209,11 +209,11 @@ hardclock(frame)
mtx_unlock_spin(&callout_lock);
/*
- * sched_swi acquires sched_lock, so we don't want to call it with
+ * swi_sched acquires sched_lock, so we don't want to call it with
* callout_lock held; incorrect locking order.
*/
if (need_softclock)
- sched_swi(softclock_ih, SWI_NOSWITCH);
+ swi_sched(softclock_ih, SWI_NOSWITCH);
}
/*