From ff80ab1cebd61d08598fd248fb6e70782ba72e4a Mon Sep 17 00:00:00 2001 From: Alfredo Dal'Ava Junior Date: Mon, 3 Oct 2022 20:22:14 -0300 Subject: [PATCH] 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 --- sys/powerpc/aim/slb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/powerpc/aim/slb.c b/sys/powerpc/aim/slb.c index c107fcbcfc4..fb198072730 100644 --- a/sys/powerpc/aim/slb.c +++ b/sys/powerpc/aim/slb.c @@ -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