diff options
Diffstat (limited to 'arch/mips64/kernel/syscall.c')
-rw-r--r-- | arch/mips64/kernel/syscall.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/mips64/kernel/syscall.c b/arch/mips64/kernel/syscall.c index ea225ff08..f791806d6 100644 --- a/arch/mips64/kernel/syscall.c +++ b/arch/mips64/kernel/syscall.c @@ -321,3 +321,10 @@ asmlinkage void bad_stack(void) { do_exit(SIGSEGV); } + +asmlinkage int sys_pause(void) +{ + current->state = TASK_INTERRUPTIBLE; + schedule(); + return -ERESTARTNOHAND; +} |