aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/linux/signal.h2
-rw-r--r--init/main.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/include/linux/signal.h b/include/linux/signal.h
index 0ae338866240..7e095147656c 100644
--- a/include/linux/signal.h
+++ b/include/linux/signal.h
@@ -371,6 +371,8 @@ int unhandled_signal(struct task_struct *tsk, int sig);
371 (!siginmask(signr, SIG_KERNEL_IGNORE_MASK|SIG_KERNEL_STOP_MASK) && \ 371 (!siginmask(signr, SIG_KERNEL_IGNORE_MASK|SIG_KERNEL_STOP_MASK) && \
372 (t)->sighand->action[(signr)-1].sa.sa_handler == SIG_DFL) 372 (t)->sighand->action[(signr)-1].sa.sa_handler == SIG_DFL)
373 373
374void signals_init(void);
375
374#endif /* __KERNEL__ */ 376#endif /* __KERNEL__ */
375 377
376#endif /* _LINUX_SIGNAL_H */ 378#endif /* _LINUX_SIGNAL_H */
diff --git a/init/main.c b/init/main.c
index cb81ed116f62..c691f5f7fc27 100644
--- a/init/main.c
+++ b/init/main.c
@@ -57,6 +57,7 @@
57#include <linux/device.h> 57#include <linux/device.h>
58#include <linux/kthread.h> 58#include <linux/kthread.h>
59#include <linux/sched.h> 59#include <linux/sched.h>
60#include <linux/signal.h>
60 61
61#include <asm/io.h> 62#include <asm/io.h>
62#include <asm/bugs.h> 63#include <asm/bugs.h>
@@ -83,7 +84,6 @@ extern void init_IRQ(void);
83extern void fork_init(unsigned long); 84extern void fork_init(unsigned long);
84extern void mca_init(void); 85extern void mca_init(void);
85extern void sbus_init(void); 86extern void sbus_init(void);
86extern void signals_init(void);
87extern void pidhash_init(void); 87extern void pidhash_init(void);
88extern void pidmap_init(void); 88extern void pidmap_init(void);
89extern void prio_tree_init(void); 89extern void prio_tree_init(void);