Skip to contentSkip to conversation

x86: signal.c declare do_notify_resume before they get used

PATCH New Jaswinder Singh 1 participant 1 message Dec 15, 2008 x86

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 x86: signal.c declare do_notify_resume before they get used

In asm/signal.h moved out do_notify_resume from __i386__ as it is common for both 32 and 64 bit.

---
 arch/x86/include/asm/signal.h |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)
arch/x86/include/asm/signal.h +4 -2
index 96ac44f..7761a5d 100644
@@ -121,6 +121,10 @@ typedef unsigned long sigset_t;
 
 #ifndef __ASSEMBLY__
 
+# ifdef __KERNEL__
+extern void do_notify_resume(struct pt_regs *, void *, __u32);
+# endif /* __KERNEL__ */
+
 #ifdef __i386__
 # ifdef __KERNEL__
 struct old_sigaction {
@@ -141,8 +145,6 @@ struct k_sigaction {
 	struct sigaction sa;
 };
 
-extern void do_notify_resume(struct pt_regs *, void *, __u32);
-
 # else /* __KERNEL__ */
 /* Here we must cater to libcs that poke about in kernel headers.  */
 
Signature · 1 line
1.5.5.1