diff options
author | Alfredo Dal'Ava Junior <alfredo@FreeBSD.org> | 2022-10-03 23:22:14 +0000 |
---|---|---|
committer | Alfredo Dal'Ava Junior <alfredo@FreeBSD.org> | 2022-10-06 00:14:29 +0000 |
commit | b9ced1317b3266c6422ca1c1de41b1365beeb812 (patch) | |
tree | 22404f7eabea63b83e69607504385dc04476ead7 | |
parent | 05f9810b31973fb0d5f07a6eb9a12a22f81c38ad (diff) | |
download | src-b9ced1317b3266c6422ca1c1de41b1365beeb812.tar.gz src-b9ced1317b3266c6422ca1c1de41b1365beeb812.zip |
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)
-rw-r--r-- | sys/powerpc/aim/slb.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 |