[RESEND] [PATCH] Fix wrong error code from ppc32 select syscall

Josh Boyer jwboyer at linux.vnet.ibm.com
Tue Nov 24 00:25:06 EST 2009


From: Arnd Bergmann <arnd at arndb.de>, Paul Mackerras <paulus at samba.org>

This patch was submitted, discussed, and eventually Acked by everyone, yet
still isn't in the tree.  See:

http://patchwork.ozlabs.org/patch/1240/

Signed-off-by: Josh Boyer <jwboyer at linux.vnet.ibm.com>
Cc: Arnd Bergmann <arnd at anrdb.de>
Cc: Paul Mackerras <paulus at samba.org>

---

diff --git a/arch/powerpc/include/asm/systbl.h b/arch/powerpc/include/asm/systbl
index c7d671a..07d2d19 100644
--- a/arch/powerpc/include/asm/systbl.h
+++ b/arch/powerpc/include/asm/systbl.h
@@ -145,7 +145,7 @@ SYSCALL_SPU(setfsuid)
 SYSCALL_SPU(setfsgid)
 SYSCALL_SPU(llseek)
 COMPAT_SYS_SPU(getdents)
-SYSX_SPU(sys_select,ppc32_select,ppc_select)
+SYSX_SPU(sys_select,ppc32_select,sys_select)
 SYSCALL_SPU(flock)
 SYSCALL_SPU(msync)
 COMPAT_SYS_SPU(readv)



More information about the Linuxppc-dev mailing list