diff options
author | Chris Zankel <chris@zankel.net> | 2010-05-02 10:05:13 +0200 |
---|---|---|
committer | Chris Zankel <chris@zankel.net> | 2010-05-02 10:05:13 +0200 |
commit | 4573e398d591a2fe6c600908578fd31401746529 (patch) | |
tree | f74ae1023b753cc0ca986af1a3d79535858a8821 /arch/xtensa/kernel | |
parent | xtensa: Add -mforce-no-pic option is supported (diff) | |
download | linux-4573e398d591a2fe6c600908578fd31401746529.tar.xz 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.c | 1 | ||||
-rw-r--r-- | arch/xtensa/kernel/entry.S | 1 |
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> |