diff options
author | rwatson <rwatson@FreeBSD.org> | 2004-03-08 22:01:19 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2004-03-08 22:01:19 +0000 |
commit | 8ff4e76430891ac4cdbaed167d6824866a07f187 (patch) | |
tree | a1f354d341183bce510a07e0346087997322352e | |
parent | b2d1dcd93670e3f0966ed44e57e8bab20417a47f (diff) | |
download | FreeBSD-src-8ff4e76430891ac4cdbaed167d6824866a07f187.zip FreeBSD-src-8ff4e76430891ac4cdbaed167d6824866a07f187.tar.gz |
Mark loadaverage callout as CALLOUT_MPSAFE.
Reviewed by: jhb
-rw-r--r-- | sys/kern/kern_synch.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/kern_synch.c b/sys/kern/kern_synch.c index ccc1846..89c6bbc 100644 --- a/sys/kern/kern_synch.c +++ b/sys/kern/kern_synch.c @@ -476,7 +476,7 @@ static void synch_setup(dummy) void *dummy; { - callout_init(&loadav_callout, 0); + callout_init(&loadav_callout, CALLOUT_MPSAFE); callout_init(&lbolt_callout, CALLOUT_MPSAFE); /* Kick off timeout driven events by calling first time. */ |