提交 bde4d8b2 编写于 作者: S Sam Ravnborg 提交者: David S. Miller

sparc32: fix fallout from system.h removal

Build failures for the typical configs I use
Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 623ff773
...@@ -241,6 +241,7 @@ extern unsigned long profile_pc(struct pt_regs *); ...@@ -241,6 +241,7 @@ extern unsigned long profile_pc(struct pt_regs *);
#ifndef __ASSEMBLY__ #ifndef __ASSEMBLY__
#ifdef __KERNEL__ #ifdef __KERNEL__
#include <asm/switch_to.h>
static inline bool pt_regs_is_syscall(struct pt_regs *regs) static inline bool pt_regs_is_syscall(struct pt_regs *regs)
{ {
......
...@@ -14,6 +14,7 @@ ...@@ -14,6 +14,7 @@
#include <asm/sbi.h> #include <asm/sbi.h>
#include <asm/mmu.h> #include <asm/mmu.h>
#include <asm/tlbflush.h> #include <asm/tlbflush.h>
#include <asm/switch_to.h>
#include <asm/cacheflush.h> #include <asm/cacheflush.h>
#include "kernel.h" #include "kernel.h"
......
...@@ -10,6 +10,7 @@ ...@@ -10,6 +10,7 @@
#include <linux/cpu.h> #include <linux/cpu.h>
#include <asm/cacheflush.h> #include <asm/cacheflush.h>
#include <asm/switch_to.h>
#include <asm/tlbflush.h> #include <asm/tlbflush.h>
#include "irq.h" #include "irq.h"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册