aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/signal.h
diff options
context:
space:
mode:
authorJaswinder Singh <jaswinder@infradead.org>2008-12-15 11:54:48 -0500
committerIngo Molnar <mingo@elte.hu>2008-12-16 15:10:28 -0500
commit7b5b50f1be9e07714cfaa620d102c8daf3cdd814 (patch)
treec09d7e96bafa99ce35f857ee1a48b89774b96c36 /arch/x86/include/asm/signal.h
parentaab02f0ae20b8fe0fe891e9f107c6e392256ca01 (diff)
x86: signal.c declare do_notify_resume before they get used
Impact: cleanup In asm/signal.h moved out do_notify_resume from __i386__ as it is common for both 32 and 64 bit. Signed-off-by: Jaswinder Singh <jaswinder@infradead.org> Signed-off-by: Ingo Molnar <mingo@elte.hu> arch/x86/include/asm/signal.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)
Diffstat (limited to 'arch/x86/include/asm/signal.h')
-rw-r--r--arch/x86/include/asm/signal.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/x86/include/asm/signal.h b/arch/x86/include/asm/signal.h
index 96ac44f275da..7761a5d554bb 100644
--- a/arch/x86/include/asm/signal.h
+++ b/arch/x86/include/asm/signal.h
@@ -121,6 +121,10 @@ typedef unsigned long sigset_t;
121 121
122#ifndef __ASSEMBLY__ 122#ifndef __ASSEMBLY__
123 123
124# ifdef __KERNEL__
125extern void do_notify_resume(struct pt_regs *, void *, __u32);
126# endif /* __KERNEL__ */
127
124#ifdef __i386__ 128#ifdef __i386__
125# ifdef __KERNEL__ 129# ifdef __KERNEL__
126struct old_sigaction { 130struct old_sigaction {
@@ -141,8 +145,6 @@ struct k_sigaction {
141 struct sigaction sa; 145 struct sigaction sa;
142}; 146};
143 147
144extern void do_notify_resume(struct pt_regs *, void *, __u32);
145
146# else /* __KERNEL__ */ 148# else /* __KERNEL__ */
147/* Here we must cater to libcs that poke about in kernel headers. */ 149/* Here we must cater to libcs that poke about in kernel headers. */
148 150