Skip to content

Commit

Permalink
x86: signal.c declare do_notify_resume before they get used
Browse files Browse the repository at this point in the history
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(-)
  • Loading branch information
Jaswinder Singh authored and Ingo Molnar committed Dec 16, 2008
1 parent aab02f0 commit 7b5b50f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions arch/x86/include/asm/signal.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -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. */

Expand Down

0 comments on commit 7b5b50f

Please sign in to comment.