Mark uma_callout as CALLOUT_MPSAFE, as uma_timeout can run MPSAFE.

Reviewed by:	jeff
This commit is contained in:
Robert Watson 2004-03-07 07:00:46 +00:00
parent 05f0fb092f
commit a3c0761103
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=126714

View File

@ -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");