sparc32: fix fallout from system.h removal
authorSam Ravnborg <sam@ravnborg.org>
Fri, 30 Mar 2012 13:53:50 +0000 (15:53 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sat, 31 Mar 2012 01:16:58 +0000 (18:16 -0700)
Build failures for the typical configs I use

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/include/asm/ptrace.h
arch/sparc/kernel/sun4d_smp.c
arch/sparc/kernel/sun4m_smp.c

index 9835adc..fd9c3f2 100644 (file)
@@ -241,6 +241,7 @@ extern unsigned long profile_pc(struct pt_regs *);
 #ifndef __ASSEMBLY__
 
 #ifdef __KERNEL__
+#include <asm/switch_to.h>
 
 static inline bool pt_regs_is_syscall(struct pt_regs *regs)
 {
index 1333879..540b2fe 100644 (file)
@@ -14,6 +14,7 @@
 #include <asm/sbi.h>
 #include <asm/mmu.h>
 #include <asm/tlbflush.h>
+#include <asm/switch_to.h>
 #include <asm/cacheflush.h>
 
 #include "kernel.h"
index 5947686..02db9a0 100644 (file)
@@ -10,6 +10,7 @@
 #include <linux/cpu.h>
 
 #include <asm/cacheflush.h>
+#include <asm/switch_to.h>
 #include <asm/tlbflush.h>
 
 #include "irq.h"