summaryrefslogtreecommitdiffstats
path: root/arch/xtensa/kernel
diff options
context:
space:
mode:
authorChris Zankel <chris@zankel.net>2010-05-02 01:05:13 -0700
committerChris Zankel <chris@zankel.net>2010-05-02 01:05:13 -0700
commit4573e398d591a2fe6c600908578fd31401746529 (patch)
treef74ae1023b753cc0ca986af1a3d79535858a8821 /arch/xtensa/kernel
parentcf1c0aaf816ecc90106d997c0af3f7cdde6c2a71 (diff)
downloadlinux-4573e398d591a2fe6c600908578fd31401746529.tar.gz
linux-4573e398d591a2fe6c600908578fd31401746529.tar.bz2
linux-4573e398d591a2fe6c600908578fd31401746529.zip
xtensa: Shuffle include statements to fix linker script
The linker script was including assembly macros from the coprocessor header file that is not otherwise used by the script. Signed-off-by: Chris Zankel <chris@zankel.net>
Diffstat (limited to 'arch/xtensa/kernel')
-rw-r--r--arch/xtensa/kernel/asm-offsets.c1
-rw-r--r--arch/xtensa/kernel/entry.S1
2 files changed, 2 insertions, 0 deletions
diff --git a/arch/xtensa/kernel/asm-offsets.c b/arch/xtensa/kernel/asm-offsets.c
index 070ff8af3a21..7dc3f9157185 100644
--- a/arch/xtensa/kernel/asm-offsets.c
+++ b/arch/xtensa/kernel/asm-offsets.c
@@ -13,6 +13,7 @@
*/
#include <asm/processor.h>
+#include <asm/coprocessor.h>
#include <linux/types.h>
#include <linux/stddef.h>
diff --git a/arch/xtensa/kernel/entry.S b/arch/xtensa/kernel/entry.S
index 77fc9f6dc016..5fd01f6aaf37 100644
--- a/arch/xtensa/kernel/entry.S
+++ b/arch/xtensa/kernel/entry.S
@@ -16,6 +16,7 @@
#include <linux/linkage.h>
#include <asm/asm-offsets.h>
#include <asm/processor.h>
+#include <asm/coprocessor.h>
#include <asm/thread_info.h>
#include <asm/uaccess.h>
#include <asm/unistd.h>