mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
powerpc: slb_alloc_user_cache: fix missing uma_zalloc wait flag
Flags should be M_WAITOK | M_ZERO instead of just M_ZERO Reviewed by: markj MFC after: 2 days Sponsored by: Instituto de Pesquisas Eldorado (eldorado.org.br) Differential Revision: https://reviews.freebsd.org/D36865
This commit is contained in:
parent
a9a267c1f7
commit
ff80ab1ceb
1 changed files with 1 additions and 1 deletions
|
|
@ -535,7 +535,7 @@ slb_zone_init(void *dummy)
|
|||
struct slb **
|
||||
slb_alloc_user_cache(void)
|
||||
{
|
||||
return (uma_zalloc(slb_cache_zone, M_ZERO));
|
||||
return (uma_zalloc(slb_cache_zone, M_WAITOK | M_ZERO));
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
|||
Loading…
Reference in a new issue