patch-2.3.99-pre9 linux/arch/mips/kernel/sysmips.c
Next file: linux/arch/mips/kernel/traps.c
Previous file: linux/arch/mips/kernel/sysirix.c
Back to the patch index
Back to the overall index
- Lines: 21
- Date:
Sat May 13 08:29:14 2000
- Orig file:
v2.3.99-pre8/linux/arch/mips/kernel/sysmips.c
- Orig date:
Sat Feb 26 22:31:40 2000
diff -u --recursive --new-file v2.3.99-pre8/linux/arch/mips/kernel/sysmips.c linux/arch/mips/kernel/sysmips.c
@@ -7,7 +7,7 @@
*
* Copyright (C) 1995, 1996, 1997 by Ralf Baechle
*
- * $Id: sysmips.c,v 1.9 2000/02/18 00:24:30 ralf Exp $
+ * $Id: sysmips.c,v 1.8 2000/02/05 06:47:08 ralf Exp $
*/
#include <linux/errno.h>
#include <linux/linkage.h>
@@ -123,4 +123,11 @@
sys_cachectl(char *addr, int nbytes, int op)
{
return -ENOSYS;
+}
+
+asmlinkage int sys_pause(void)
+{
+ current->state = TASK_INTERRUPTIBLE;
+ schedule();
+ return -ERESTARTNOHAND;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)