git: b9ced1317b32 - stable/13 - powerpc: slb_alloc_user_cache: fix missing uma_zalloc wait flag

From: Alfredo Dal'Ava Junior <alfredo_at_FreeBSD.org>
Date: Wed, 05 Oct 2022 21:15:02 UTC
The branch stable/13 has been updated by alfredo:

URL: https://cgit.FreeBSD.org/src/commit/?id=b9ced1317b3266c6422ca1c1de41b1365beeb812

commit b9ced1317b3266c6422ca1c1de41b1365beeb812
Author:     Alfredo Dal'Ava Junior <alfredo@FreeBSD.org>
AuthorDate: 2022-10-03 23:22:14 +0000
Commit:     Alfredo Dal'Ava Junior <alfredo@FreeBSD.org>
CommitDate: 2022-10-06 00:14:29 +0000

    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
    
    (cherry picked from commit ff80ab1cebd61d08598fd248fb6e70782ba72e4a)
---
 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 c107fcbcfc43..fb198072730a 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