[PATCH] signals: declare sys_rt_tgsigqueueinfo in syscalls.h

From: Arnd Bergmann
Date: Tue Jul 07 2009 - 04:24:19 EST


sys_rt_tgsigqueueinfo needs to be declared in linux/syscalls.h so that
architectures defining the system call table in C can reference it.

Signed-off-by: Arnd Bergmann <arnd@xxxxxxxx>

---
On Tuesday 07 July 2009, liqin.chen@xxxxxxxxxxxxx wrote:
> In file included from
> /home/score/work-linux/work-kernel/mainline/linux-2.6.git.new2/arch/score/include/asm/unistd.h:6,
> from arch/score/kernel/sys_call_table.c:11:
> include/asm-generic/unistd.h:622: error: 'sys_rt_tgsigqueueinfo'
> undeclared here (not in a f

diff --git a/include/linux/syscalls.h b/include/linux/syscalls.h
index fa4242c..34182de 100644
--- a/include/linux/syscalls.h
+++ b/include/linux/syscalls.h
@@ -321,6 +321,8 @@ asmlinkage long sys_rt_sigtimedwait(const sigset_t __user *uthese,
siginfo_t __user *uinfo,
const struct timespec __user *uts,
size_t sigsetsize);
+asmlinkage long sys_rt_tgsigqueueinfo(pid_t tgid, pid_t pid, int sig,
+ siginfo_t __user *uinfo);
asmlinkage long sys_kill(int pid, int sig);
asmlinkage long sys_tgkill(int tgid, int pid, int sig);
asmlinkage long sys_tkill(int pid, int sig);
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/