summaryrefslogtreecommitdiff
path: root/arch/powerpc/kernel/sys_ppc32.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2008-09-01 05:23:30 +0400
committerPaul Mackerras <paulus@samba.org>2008-09-15 22:08:39 +0400
commitd6c93adbeb98c56e19f7df37633566b39fbcd4c9 (patch)
tree98ea6c811f7a586603a757e6d7e28d492aa85215 /arch/powerpc/kernel/sys_ppc32.c
parent549e8152de8039506f69c677a4546e5427aa6ae7 (diff)
downloadlinux-d6c93adbeb98c56e19f7df37633566b39fbcd4c9.tar.xz
powerpc: Use sys_pause for 32-bit pause entry point
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>
Diffstat (limited to 'arch/powerpc/kernel/sys_ppc32.c')
-rw-r--r--arch/powerpc/kernel/sys_ppc32.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/arch/powerpc/kernel/sys_ppc32.c b/arch/powerpc/kernel/sys_ppc32.c
index d98634c76060..ff7de7b0797e 100644
--- a/arch/powerpc/kernel/sys_ppc32.c
+++ b/arch/powerpc/kernel/sys_ppc32.c
@@ -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;