aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2012-03-30 13:56:11 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2012-03-30 13:56:11 -0400
commit307cc7904841fd66a848ece16a179b49ae1a4ba4 (patch)
tree3a37d1b7d0a500de78999e956f6311575cf9c5b5 /arch
parentf52b69f86e27903d6896ed5fa7cd280fec8de532 (diff)
parent8befc9f23c695395de011ced289c611fada22f35 (diff)
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc
Pull minor Sparc fixes from David Miller: "This just fixes build fallout due to recent changes that went int your tree." Sam Ravnborg says that sparc32 still needs some more tender loving. * git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc: sparc: Fix even more fallout from system.h split. sparc: fix fallout from system.h split
Diffstat (limited to 'arch')
-rw-r--r--arch/sparc/include/asm/ptrace.h1
-rw-r--r--arch/sparc/kernel/jump_label.c2
-rw-r--r--arch/sparc/kernel/kgdb_64.c1
3 files changed, 4 insertions, 0 deletions
diff --git a/arch/sparc/include/asm/ptrace.h b/arch/sparc/include/asm/ptrace.h
index ef8c7c068f53..9835adc163fd 100644
--- a/arch/sparc/include/asm/ptrace.h
+++ b/arch/sparc/include/asm/ptrace.h
@@ -165,6 +165,7 @@ struct sparc_stackf {
165#ifdef __KERNEL__ 165#ifdef __KERNEL__
166 166
167#include <linux/threads.h> 167#include <linux/threads.h>
168#include <asm/switch_to.h>
168 169
169static inline int pt_regs_trap_type(struct pt_regs *regs) 170static inline int pt_regs_trap_type(struct pt_regs *regs)
170{ 171{
diff --git a/arch/sparc/kernel/jump_label.c b/arch/sparc/kernel/jump_label.c
index 971fd435a281..48565c11e82a 100644
--- a/arch/sparc/kernel/jump_label.c
+++ b/arch/sparc/kernel/jump_label.c
@@ -6,6 +6,8 @@
6#include <linux/jump_label.h> 6#include <linux/jump_label.h>
7#include <linux/memory.h> 7#include <linux/memory.h>
8 8
9#include <asm/cacheflush.h>
10
9#ifdef HAVE_JUMP_LABEL 11#ifdef HAVE_JUMP_LABEL
10 12
11void arch_jump_label_transform(struct jump_entry *entry, 13void arch_jump_label_transform(struct jump_entry *entry,
diff --git a/arch/sparc/kernel/kgdb_64.c b/arch/sparc/kernel/kgdb_64.c
index 768290a6c028..c8759550799f 100644
--- a/arch/sparc/kernel/kgdb_64.c
+++ b/arch/sparc/kernel/kgdb_64.c
@@ -7,6 +7,7 @@
7#include <linux/kdebug.h> 7#include <linux/kdebug.h>
8#include <linux/ftrace.h> 8#include <linux/ftrace.h>
9 9
10#include <asm/cacheflush.h>
10#include <asm/kdebug.h> 11#include <asm/kdebug.h>
11#include <asm/ptrace.h> 12#include <asm/ptrace.h>
12#include <asm/irq.h> 13#include <asm/irq.h>