summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/os/shm.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/uts/common/os/shm.c')
-rw-r--r--usr/src/uts/common/os/shm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/src/uts/common/os/shm.c b/usr/src/uts/common/os/shm.c
index a488dbf4e0..cd99615eef 100644
--- a/usr/src/uts/common/os/shm.c
+++ b/usr/src/uts/common/os/shm.c
@@ -881,7 +881,7 @@ top:
* unreserving the above anon, and freeing the below amp.
*/
- sp->shm_amp = anonmap_alloc(rsize, rsize);
+ sp->shm_amp = anonmap_alloc(rsize, rsize, ANON_SLEEP);
sp->shm_amp->a_sp = sp;
/*
* Store the original user's requested size, in bytes,