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
@ -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…
x
Reference in New Issue
Block a user