sparc: fix fallout from system.h split
authorStephen Rothwell <sfr@canb.auug.org.au>
Fri, 30 Mar 2012 05:39:57 +0000 (22:39 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 30 Mar 2012 05:39:57 +0000 (22:39 -0700)
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>
arch/sparc/include/asm/ptrace.h

index ef8c7c068f53a3b3dfbaef79bcf9a5fa089b60f6..9835adc163fd79011ced5128696c2b9bf2be6744 100644 (file)
@@ -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)
 {