Browse Source

sparc32: fix fallout from system.h removal

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>
Sam Ravnborg 13 years ago
parent
commit
bde4d8b205
3 changed files with 3 additions and 0 deletions
  1. 1 0
      arch/sparc/include/asm/ptrace.h
  2. 1 0
      arch/sparc/kernel/sun4d_smp.c
  3. 1 0
      arch/sparc/kernel/sun4m_smp.c

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

@@ -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)
 {

+ 1 - 0
arch/sparc/kernel/sun4d_smp.c

@@ -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"

+ 1 - 0
arch/sparc/kernel/sun4m_smp.c

@@ -10,6 +10,7 @@
 #include <linux/cpu.h>
 
 #include <asm/cacheflush.h>
+#include <asm/switch_to.h>
 #include <asm/tlbflush.h>
 
 #include "irq.h"