diff --git a/sys/amd64/amd64/fpu.c b/sys/amd64/amd64/fpu.c index 537b269f2f78..92f80a2159d9 100644 --- a/sys/amd64/amd64/fpu.c +++ b/sys/amd64/amd64/fpu.c @@ -1190,7 +1190,7 @@ struct savefpu * fpu_save_area_alloc(void) { - return (uma_zalloc(fpu_save_area_zone, 0)); + return (uma_zalloc(fpu_save_area_zone, M_WAITOK)); } void diff --git a/sys/i386/i386/npx.c b/sys/i386/i386/npx.c index 760d931d40e4..7c3496575199 100644 --- a/sys/i386/i386/npx.c +++ b/sys/i386/i386/npx.c @@ -1473,7 +1473,7 @@ union savefpu * fpu_save_area_alloc(void) { - return (uma_zalloc(fpu_save_area_zone, 0)); + return (uma_zalloc(fpu_save_area_zone, M_WAITOK)); } void