summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/os/schedctl.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/uts/common/os/schedctl.c')
-rw-r--r--usr/src/uts/common/os/schedctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/src/uts/common/os/schedctl.c b/usr/src/uts/common/os/schedctl.c
index 0c964aa399..8a189b3c97 100644
--- a/usr/src/uts/common/os/schedctl.c
+++ b/usr/src/uts/common/os/schedctl.c
@@ -563,7 +563,7 @@ schedctl_getpage(struct anon_map **newamp, caddr_t *newaddr)
* Set up anonymous memory struct. No swap reservation is
* needed since the page will be locked into memory.
*/
- amp = anonmap_alloc(PAGESIZE, 0);
+ amp = anonmap_alloc(PAGESIZE, 0, ANON_SLEEP);
/*
* Allocate the page.