Просмотр исходного кода

Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc

Pull Sam Ravnborg's sparc32 build fixes from David Miller.

* git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc:
  sparc32: fix fallout from system.h removal
Linus Torvalds 13 лет назад
Родитель
Сommit
fa2a4519cb
3 измененных файлов с 3 добавлено и 0 удалено
  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"