diff options
author | rwatson <rwatson@FreeBSD.org> | 2004-03-07 07:00:46 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2004-03-07 07:00:46 +0000 |
commit | fa59040dad6eceaf13cb4d432f4296df5b578b9c (patch) | |
tree | f1fb2d8ac88589eea48b79e2ffc8414b386ab2aa /sys | |
parent | 4d5eb6b80f29cc64bd49b50237c777c4dd0af11a (diff) | |
download | FreeBSD-src-fa59040dad6eceaf13cb4d432f4296df5b578b9c.zip FreeBSD-src-fa59040dad6eceaf13cb4d432f4296df5b578b9c.tar.gz |
Mark uma_callout as CALLOUT_MPSAFE, as uma_timeout can run MPSAFE.
Reviewed by: jeff
Diffstat (limited to 'sys')
-rw-r--r-- | sys/vm/uma_core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/vm/uma_core.c b/sys/vm/uma_core.c index 6297bc4..fb5f5fc 100644 --- a/sys/vm/uma_core.c +++ b/sys/vm/uma_core.c @@ -1314,7 +1314,7 @@ uma_startup3(void) #ifdef UMA_DEBUG printf("Starting callout.\n"); #endif - callout_init(&uma_callout, 0); + callout_init(&uma_callout, CALLOUT_MPSAFE); callout_reset(&uma_callout, UMA_TIMEOUT * hz, uma_timeout, NULL); #ifdef UMA_DEBUG printf("UMA startup3 complete.\n"); |