Patchwork powerpc: wire up sys_rt_tgsigqueueinfo

login
register
mail settings
Submitter Stephen Rothwell
Date June 11, 2009, 8:22 a.m.
Message ID <20090611182208.93fbe3df.sfr@canb.auug.org.au>
Download mbox | patch
Permalink /patch/28556/
State Accepted
Delegated to: Benjamin Herrenschmidt
Headers show

Comments

Stephen Rothwell - June 11, 2009, 8:22 a.m.
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
---
 arch/powerpc/include/asm/systbl.h |    1 +
 arch/powerpc/include/asm/unistd.h |    3 ++-
 2 files changed, 3 insertions(+), 1 deletions(-)

This new syscall turned up in Linus' tree today and has been in
linux-next for some time.  This has been build tested for ppc64_defconfig
and ppc44x_defconfig.

Patch

diff --git a/arch/powerpc/include/asm/systbl.h b/arch/powerpc/include/asm/systbl.h
index d98a30d..43e23dc 100644
--- a/arch/powerpc/include/asm/systbl.h
+++ b/arch/powerpc/include/asm/systbl.h
@@ -325,3 +325,4 @@  SYSCALL(inotify_init1)
 SYSCALL(ni_syscall)
 COMPAT_SYS_SPU(preadv)
 COMPAT_SYS_SPU(pwritev)
+COMPAT_SYS(rt_tgsigqueueinfo)
diff --git a/arch/powerpc/include/asm/unistd.h b/arch/powerpc/include/asm/unistd.h
index 3f06f8e..e8472c4 100644
--- a/arch/powerpc/include/asm/unistd.h
+++ b/arch/powerpc/include/asm/unistd.h
@@ -343,10 +343,11 @@ 
 #define __NR_inotify_init1	318
 #define __NR_preadv		320
 #define __NR_pwritev		321
+#define __NR_rt_tgsigqueueinfo	322
 
 #ifdef __KERNEL__
 
-#define __NR_syscalls		322
+#define __NR_syscalls		323
 
 #define __NR__exit __NR_exit
 #define NR_syscalls	__NR_syscalls