sys32_pause is a useless copy of the generic sys_pause.
Signed-off-by: Christoph Hellwig <[EMAIL PROTECTED]> Index: linux-2.6/arch/powerpc/include/asm/systbl.h =================================================================== --- linux-2.6.orig/arch/powerpc/include/asm/systbl.h 2008-08-22 12:47:08.000000000 -0300 +++ linux-2.6/arch/powerpc/include/asm/systbl.h 2008-08-22 12:47:35.000000000 -0300 @@ -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: linux-2.6/arch/powerpc/kernel/sys_ppc32.c =================================================================== --- linux-2.6.orig/arch/powerpc/kernel/sys_ppc32.c 2008-08-22 12:47:41.000000000 -0300 +++ linux-2.6/arch/powerpc/kernel/sys_ppc32.c 2008-08-22 12:47:51.000000000 -0300 @@ -107,14 +107,6 @@ asmlinkage long compat_sys_sysfs(u32 opt 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; _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev