From: Arnd Bergmann <arnd@arndb.de>
To: liqin.chen@sunplusct.com, Thomas Gleixner <tglx@linutronix.de>
Cc: Roland McGrath <roland@redhat.com>,
Oleg Nesterov <oleg@redhat.com>,
liqin.chen@sunplusct.com,
Linux Kernel list <linux-kernel@vger.kernel.org>
Subject: [PATCH] signals: declare sys_rt_tgsigqueueinfo in syscalls.h
Date: Tue, 7 Jul 2009 10:23:43 +0200 [thread overview]
Message-ID: <200907071023.44008.arnd@arndb.de> (raw)
In-Reply-To: <OF7F45750A.C485B285-ON482575EC.000B875E-482575EC.000C4628@sunplusct.com>
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@arndb.de>
---
On Tuesday 07 July 2009, liqin.chen@sunplusct.com 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);
next parent reply other threads:[~2009-07-07 8:24 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <OF7F45750A.C485B285-ON482575EC.000B875E-482575EC.000C4628@sunplusct.com>
2009-07-07 8:23 ` Arnd Bergmann [this message]
2009-07-07 9:06 ` [tip:core/urgent] signals: declare sys_rt_tgsigqueueinfo in syscalls.h tip-bot for Arnd Bergmann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200907071023.44008.arnd@arndb.de \
--to=arnd@arndb.de \
--cc=linux-kernel@vger.kernel.org \
--cc=liqin.chen@sunplusct.com \
--cc=oleg@redhat.com \
--cc=roland@redhat.com \
--cc=tglx@linutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox