diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2012-03-30 21:40:33 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-03-30 21:40:33 -0400 |
commit | fa2a4519cb6ad94224eb56a1341fff570fd44ea1 (patch) | |
tree | 02f7d676a805bd1961dfb3c86a7ea40965207365 /arch | |
parent | 923f79743c76583ed4684e2c80c8da51a7268af3 (diff) | |
parent | bde4d8b205bc3ccdf7f5a841bfbfa9896b44b1ce (diff) |
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
Diffstat (limited to 'arch')
-rw-r--r-- | arch/sparc/include/asm/ptrace.h | 1 | ||||
-rw-r--r-- | arch/sparc/kernel/sun4d_smp.c | 1 | ||||
-rw-r--r-- | arch/sparc/kernel/sun4m_smp.c | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/arch/sparc/include/asm/ptrace.h b/arch/sparc/include/asm/ptrace.h index 9835adc163fd..fd9c3f21cbf0 100644 --- a/arch/sparc/include/asm/ptrace.h +++ b/arch/sparc/include/asm/ptrace.h | |||
@@ -241,6 +241,7 @@ extern unsigned long profile_pc(struct pt_regs *); | |||
241 | #ifndef __ASSEMBLY__ | 241 | #ifndef __ASSEMBLY__ |
242 | 242 | ||
243 | #ifdef __KERNEL__ | 243 | #ifdef __KERNEL__ |
244 | #include <asm/switch_to.h> | ||
244 | 245 | ||
245 | static inline bool pt_regs_is_syscall(struct pt_regs *regs) | 246 | static inline bool pt_regs_is_syscall(struct pt_regs *regs) |
246 | { | 247 | { |
diff --git a/arch/sparc/kernel/sun4d_smp.c b/arch/sparc/kernel/sun4d_smp.c index 133387980b56..540b2fec09f0 100644 --- a/arch/sparc/kernel/sun4d_smp.c +++ b/arch/sparc/kernel/sun4d_smp.c | |||
@@ -14,6 +14,7 @@ | |||
14 | #include <asm/sbi.h> | 14 | #include <asm/sbi.h> |
15 | #include <asm/mmu.h> | 15 | #include <asm/mmu.h> |
16 | #include <asm/tlbflush.h> | 16 | #include <asm/tlbflush.h> |
17 | #include <asm/switch_to.h> | ||
17 | #include <asm/cacheflush.h> | 18 | #include <asm/cacheflush.h> |
18 | 19 | ||
19 | #include "kernel.h" | 20 | #include "kernel.h" |
diff --git a/arch/sparc/kernel/sun4m_smp.c b/arch/sparc/kernel/sun4m_smp.c index 594768686525..02db9a0412ce 100644 --- a/arch/sparc/kernel/sun4m_smp.c +++ b/arch/sparc/kernel/sun4m_smp.c | |||
@@ -10,6 +10,7 @@ | |||
10 | #include <linux/cpu.h> | 10 | #include <linux/cpu.h> |
11 | 11 | ||
12 | #include <asm/cacheflush.h> | 12 | #include <asm/cacheflush.h> |
13 | #include <asm/switch_to.h> | ||
13 | #include <asm/tlbflush.h> | 14 | #include <asm/tlbflush.h> |
14 | 15 | ||
15 | #include "irq.h" | 16 | #include "irq.h" |