summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2012-11-20 11:14:10 -0500
committerAl Viro <viro@zeniv.linux.org.uk>2013-02-14 09:21:15 -0500
commite9b04b5b67ec628a5e9a312e14b6864f8f73ba12 (patch)
treebd147c23da22edc74fd8c381b0f053678599615f
parent9b25d604182169a08b206306b312d2df26b5f502 (diff)
downloadlinux-3.10-e9b04b5b67ec628a5e9a312e14b6864f8f73ba12.tar.gz
linux-3.10-e9b04b5b67ec628a5e9a312e14b6864f8f73ba12.tar.bz2
linux-3.10-e9b04b5b67ec628a5e9a312e14b6864f8f73ba12.zip
make do_sigaltstack() static
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
-rw-r--r--include/linux/sched.h1
-rw-r--r--kernel/signal.c2
2 files changed, 1 insertions, 2 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h
index 8f983293b40..6dd06494997 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -2259,7 +2259,6 @@ extern struct sigqueue *sigqueue_alloc(void);
extern void sigqueue_free(struct sigqueue *);
extern int send_sigqueue(struct sigqueue *, struct task_struct *, int group);
extern int do_sigaction(int, struct k_sigaction *, struct k_sigaction *);
-extern int do_sigaltstack(const stack_t __user *, stack_t __user *, unsigned long);
static inline void restore_saved_sigmask(void)
{
diff --git a/kernel/signal.c b/kernel/signal.c
index 87c09e3061d..6919050c815 100644
--- a/kernel/signal.c
+++ b/kernel/signal.c
@@ -3129,7 +3129,7 @@ int do_sigaction(int sig, struct k_sigaction *act, struct k_sigaction *oact)
return 0;
}
-int
+static int
do_sigaltstack (const stack_t __user *uss, stack_t __user *uoss, unsigned long sp)
{
stack_t oss;