Eliminate a spurious panic on non-SMP systems (occurred on shutdown/reboot).
This commit is contained in:
parent
caf90252d5
commit
c5b7751fa2
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=335562
@ -2258,7 +2258,9 @@ void
|
||||
uma_zfree_pcpu_arg(uma_zone_t zone, void *item, void *udata)
|
||||
{
|
||||
|
||||
#ifdef SMP
|
||||
MPASS(zone->uz_flags & UMA_ZONE_PCPU);
|
||||
#endif
|
||||
uma_zfree_arg(zone, item, udata);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user