aboutsummaryrefslogtreecommitdiff
path: root/src/uapi/conf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/uapi/conf.c')
-rw-r--r--src/uapi/conf.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/uapi/conf.c b/src/uapi/conf.c
index 7925616..242239c 100644
--- a/src/uapi/conf.c
+++ b/src/uapi/conf.c
@@ -126,5 +126,7 @@ SYSCALL_DEFINE0(sleep)(struct tcb *t)
if (!(has_cap(t->caps, CAP_POWER)))
return_args1(t, ERR_PERM);
+ /* presumably we want to wake up on an interrupt */
+ enable_irqs();
return_args1(t, sleep());
}