diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2012-03-30 07:39:57 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-03-30 07:39:57 +0200 |
commit | 7f55ba9c4ca9e365637e8ddee1884aea47cb20c6 (patch) | |
tree | b01f7701a9cb9970924077fad55feb406690523e /arch | |
parent | Merge tag 'fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/... (diff) | |
download | linux-7f55ba9c4ca9e365637e8ddee1884aea47cb20c6.tar.xz linux-7f55ba9c4ca9e365637e8ddee1884aea47cb20c6.zip |
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>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/sparc/include/asm/ptrace.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/sparc/include/asm/ptrace.h b/arch/sparc/include/asm/ptrace.h index ef8c7c068f53..9835adc163fd 100644 --- a/arch/sparc/include/asm/ptrace.h +++ b/arch/sparc/include/asm/ptrace.h @@ -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) { |