]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
powerpc: Use sys_pause for 32-bit pause entry point
authorChristoph Hellwig <hch@lst.de>
Mon, 1 Sep 2008 01:23:30 +0000 (11:23 +1000)
committerPaul Mackerras <paulus@samba.org>
Mon, 15 Sep 2008 18:08:39 +0000 (11:08 -0700)
sys32_pause is a useless copy of the generic sys_pause.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/include/asm/systbl.h
arch/powerpc/kernel/sys_ppc32.c

index f6cc7a43b4faadeb17f080794ff7e8d2a06f4a72..803def236654a0e81b4e6ab105e994e63fb164a4 100644 (file)
@@ -32,7 +32,7 @@ COMPAT_SYS_SPU(stime)
 COMPAT_SYS(ptrace)
 SYSCALL_SPU(alarm)
 OLDSYS(fstat)
-COMPAT_SYS(pause)
+SYSCALL(pause)
 COMPAT_SYS(utime)
 SYSCALL(ni_syscall)
 SYSCALL(ni_syscall)
index d98634c76060e735290c03f0fabff5d635437e8c..ff7de7b0797eef82f2e6a3811968a5c30273438e 100644 (file)
@@ -107,14 +107,6 @@ asmlinkage long compat_sys_sysfs(u32 option, u32 arg1, u32 arg2)
        return sys_sysfs((int)option, arg1, arg2);
 }
 
-asmlinkage long compat_sys_pause(void)
-{
-       current->state = TASK_INTERRUPTIBLE;
-       schedule();
-       
-       return -ERESTARTNOHAND;
-}
-
 static inline long get_ts32(struct timespec *o, struct compat_timeval __user *i)
 {
        long usec;