1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-10-19 02:29:40 +00: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:
Alfredo Dal'Ava Junior 2022-10-03 20:22:14 -03:00
parent a9a267c1f7
commit ff80ab1ceb

View File

@ -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