* [PATCH] powerpc: use sys_pause for 32bit pause entry point
@ 2008-09-01 1:23 Christoph Hellwig
2008-09-01 2:55 ` Stephen Rothwell
0 siblings, 1 reply; 2+ messages in thread
From: Christoph Hellwig @ 2008-09-01 1:23 UTC (permalink / raw)
To: linuxppc-dev
sys32_pause is a useless copy of the generic sys_pause.
Signed-off-by: Christoph Hellwig <hch@lst.de>
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;
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] powerpc: use sys_pause for 32bit pause entry point
2008-09-01 1:23 [PATCH] powerpc: use sys_pause for 32bit pause entry point Christoph Hellwig
@ 2008-09-01 2:55 ` Stephen Rothwell
0 siblings, 0 replies; 2+ messages in thread
From: Stephen Rothwell @ 2008-09-01 2:55 UTC (permalink / raw)
To: Christoph Hellwig; +Cc: linuxppc-dev
[-- Attachment #1: Type: text/plain, Size: 354 bytes --]
On Mon, 1 Sep 2008 03:23:30 +0200 Christoph Hellwig <hch@lst.de> wrote:
>
> 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>
--
Cheers,
Stephen Rothwell sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/
[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-09-01 2:55 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-01 1:23 [PATCH] powerpc: use sys_pause for 32bit pause entry point Christoph Hellwig
2008-09-01 2:55 ` Stephen Rothwell
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.