Skip to content

Commit

Permalink
sparc: fix fallout from system.h split
Browse files Browse the repository at this point in the history
Fixes this build error:

kernel/signal.c: In function 'ptrace_stop':
kernel/signal.c:1860:3: error: implicit declaration of function 'synchronize_user_stack' [-Werror=implicit-function-declaration]

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Stephen Rothwell authored and David S. Miller committed Mar 30, 2012
1 parent 4bde23f commit 7f55ba9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/sparc/include/asm/ptrace.h
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,7 @@ struct sparc_stackf {
#ifdef __KERNEL__

#include <linux/threads.h>
#include <asm/switch_to.h>

static inline int pt_regs_trap_type(struct pt_regs *regs)
{
Expand Down

0 comments on commit 7f55ba9

Please sign in to comment.