aboutsummaryrefslogtreecommitdiff
path: root/pci-arbiter/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'pci-arbiter/main.c')
-rw-r--r--pci-arbiter/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pci-arbiter/main.c b/pci-arbiter/main.c
index 602a545c..88d89f0e 100644
--- a/pci-arbiter/main.c
+++ b/pci-arbiter/main.c
@@ -210,7 +210,7 @@ main (int argc, char **argv)
/* Make sure we will not swap out, in case we are needed for swapping
back in. */
- err = mlockall(MCL_CURRENT | MCL_FUTURE);
+ err = wire_task_self ();
if (err)
error (1, errno, "cannot lock all memory");