aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 8f983293b403..6dd06494997a 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -2259,7 +2259,6 @@ extern struct sigqueue *sigqueue_alloc(void);
2259extern void sigqueue_free(struct sigqueue *); 2259extern void sigqueue_free(struct sigqueue *);
2260extern int send_sigqueue(struct sigqueue *, struct task_struct *, int group); 2260extern int send_sigqueue(struct sigqueue *, struct task_struct *, int group);
2261extern int do_sigaction(int, struct k_sigaction *, struct k_sigaction *); 2261extern int do_sigaction(int, struct k_sigaction *, struct k_sigaction *);
2262extern int do_sigaltstack(const stack_t __user *, stack_t __user *, unsigned long);
2263 2262
2264static inline void restore_saved_sigmask(void) 2263static inline void restore_saved_sigmask(void)
2265{ 2264{
diff --git a/kernel/signal.c b/kernel/signal.c
index 87c09e3061d2..6919050c8156 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)
3129 return 0; 3129 return 0;
3130} 3130}
3131 3131
3132int 3132static int
3133do_sigaltstack (const stack_t __user *uss, stack_t __user *uoss, unsigned long sp) 3133do_sigaltstack (const stack_t __user *uss, stack_t __user *uoss, unsigned long sp)
3134{ 3134{
3135 stack_t oss; 3135 stack_t oss;