Browse Source

sparc: fix fallout from system.h split

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>
Stephen Rothwell 13 years ago
parent
commit
7f55ba9c4c
1 changed files with 1 additions and 0 deletions
  1. 1 0
      arch/sparc/include/asm/ptrace.h

+ 1 - 0
arch/sparc/include/asm/ptrace.h

@@ -165,6 +165,7 @@ struct sparc_stackf {
 #ifdef __KERNEL__
 #ifdef __KERNEL__
 
 
 #include <linux/threads.h>
 #include <linux/threads.h>
+#include <asm/switch_to.h>
 
 
 static inline int pt_regs_trap_type(struct pt_regs *regs)
 static inline int pt_regs_trap_type(struct pt_regs *regs)
 {
 {