diff options
author | Chris Zankel <chris@zankel.net> | 2010-05-02 04:05:13 -0400 |
---|---|---|
committer | Chris Zankel <chris@zankel.net> | 2010-05-02 04:05:13 -0400 |
commit | 4573e398d591a2fe6c600908578fd31401746529 (patch) | |
tree | f74ae1023b753cc0ca986af1a3d79535858a8821 /arch/xtensa | |
parent | cf1c0aaf816ecc90106d997c0af3f7cdde6c2a71 (diff) |
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')
-rw-r--r-- | arch/xtensa/include/asm/elf.h | 1 | ||||
-rw-r--r-- | arch/xtensa/include/asm/pgalloc.h | 1 | ||||
-rw-r--r-- | arch/xtensa/include/asm/processor.h | 1 | ||||
-rw-r--r-- | arch/xtensa/include/asm/ptrace.h | 2 | ||||
-rw-r--r-- | arch/xtensa/kernel/asm-offsets.c | 1 | ||||
-rw-r--r-- | arch/xtensa/kernel/entry.S | 1 |
6 files changed, 6 insertions, 1 deletions
diff --git a/arch/xtensa/include/asm/elf.h b/arch/xtensa/include/asm/elf.h index 5eb6d695e987..6e65eadaae14 100644 --- a/arch/xtensa/include/asm/elf.h +++ b/arch/xtensa/include/asm/elf.h | |||
@@ -14,6 +14,7 @@ | |||
14 | #define _XTENSA_ELF_H | 14 | #define _XTENSA_ELF_H |
15 | 15 | ||
16 | #include <asm/ptrace.h> | 16 | #include <asm/ptrace.h> |
17 | #include <asm/coprocessor.h> | ||
17 | 18 | ||
18 | /* Xtensa processor ELF architecture-magic number */ | 19 | /* Xtensa processor ELF architecture-magic number */ |
19 | 20 | ||
diff --git a/arch/xtensa/include/asm/pgalloc.h b/arch/xtensa/include/asm/pgalloc.h index 4f4a7987eded..40cf9bceda2c 100644 --- a/arch/xtensa/include/asm/pgalloc.h +++ b/arch/xtensa/include/asm/pgalloc.h | |||
@@ -14,6 +14,7 @@ | |||
14 | #ifdef __KERNEL__ | 14 | #ifdef __KERNEL__ |
15 | 15 | ||
16 | #include <linux/highmem.h> | 16 | #include <linux/highmem.h> |
17 | #include <linux/slab.h> | ||
17 | 18 | ||
18 | /* | 19 | /* |
19 | * Allocating and freeing a pmd is trivial: the 1-entry pmd is | 20 | * Allocating and freeing a pmd is trivial: the 1-entry pmd is |
diff --git a/arch/xtensa/include/asm/processor.h b/arch/xtensa/include/asm/processor.h index 0ea4937c0b61..3acb26e8dead 100644 --- a/arch/xtensa/include/asm/processor.h +++ b/arch/xtensa/include/asm/processor.h | |||
@@ -12,7 +12,6 @@ | |||
12 | #define _XTENSA_PROCESSOR_H | 12 | #define _XTENSA_PROCESSOR_H |
13 | 13 | ||
14 | #include <variant/core.h> | 14 | #include <variant/core.h> |
15 | #include <asm/coprocessor.h> | ||
16 | #include <platform/hardware.h> | 15 | #include <platform/hardware.h> |
17 | 16 | ||
18 | #include <linux/compiler.h> | 17 | #include <linux/compiler.h> |
diff --git a/arch/xtensa/include/asm/ptrace.h b/arch/xtensa/include/asm/ptrace.h index 3c549f798727..0d42c934b66f 100644 --- a/arch/xtensa/include/asm/ptrace.h +++ b/arch/xtensa/include/asm/ptrace.h | |||
@@ -77,6 +77,8 @@ | |||
77 | 77 | ||
78 | #ifndef __ASSEMBLY__ | 78 | #ifndef __ASSEMBLY__ |
79 | 79 | ||
80 | #include <asm/coprocessor.h> | ||
81 | |||
80 | /* | 82 | /* |
81 | * This struct defines the way the registers are stored on the | 83 | * This struct defines the way the registers are stored on the |
82 | * kernel stack during a system call or other kernel entry. | 84 | * kernel stack during a system call or other kernel entry. |
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 @@ | |||
13 | */ | 13 | */ |
14 | 14 | ||
15 | #include <asm/processor.h> | 15 | #include <asm/processor.h> |
16 | #include <asm/coprocessor.h> | ||
16 | 17 | ||
17 | #include <linux/types.h> | 18 | #include <linux/types.h> |
18 | #include <linux/stddef.h> | 19 | #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 @@ | |||
16 | #include <linux/linkage.h> | 16 | #include <linux/linkage.h> |
17 | #include <asm/asm-offsets.h> | 17 | #include <asm/asm-offsets.h> |
18 | #include <asm/processor.h> | 18 | #include <asm/processor.h> |
19 | #include <asm/coprocessor.h> | ||
19 | #include <asm/thread_info.h> | 20 | #include <asm/thread_info.h> |
20 | #include <asm/uaccess.h> | 21 | #include <asm/uaccess.h> |
21 | #include <asm/unistd.h> | 22 | #include <asm/unistd.h> |