]> rtime.felk.cvut.cz Git - lisovros/linux_canprio.git/commitdiff
xtensa: Shuffle include statements to fix linker script
authorChris Zankel <chris@zankel.net>
Sun, 2 May 2010 08:05:13 +0000 (01:05 -0700)
committerChris Zankel <chris@zankel.net>
Sun, 2 May 2010 08:05:13 +0000 (01:05 -0700)
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>
arch/xtensa/include/asm/elf.h
arch/xtensa/include/asm/pgalloc.h
arch/xtensa/include/asm/processor.h
arch/xtensa/include/asm/ptrace.h
arch/xtensa/kernel/asm-offsets.c
arch/xtensa/kernel/entry.S

index 5eb6d695e9872563ab9cd14a2cf67b2a9ad142bc..6e65eadaae14c60c1972b3fe96c5bbae0c2a38bb 100644 (file)
@@ -14,6 +14,7 @@
 #define _XTENSA_ELF_H
 
 #include <asm/ptrace.h>
+#include <asm/coprocessor.h>
 
 /* Xtensa processor ELF architecture-magic number */
 
index 4f4a7987eded7087251550e37204f227e293587e..40cf9bceda2cb92625112a951b174f5b56dd5471 100644 (file)
@@ -14,6 +14,7 @@
 #ifdef __KERNEL__
 
 #include <linux/highmem.h>
+#include <linux/slab.h>
 
 /*
  * Allocating and freeing a pmd is trivial: the 1-entry pmd is
index 0ea4937c0b618d517d68e70f163af7925539dae7..3acb26e8dead4d2336e1313333027b6e74461ed3 100644 (file)
@@ -12,7 +12,6 @@
 #define _XTENSA_PROCESSOR_H
 
 #include <variant/core.h>
-#include <asm/coprocessor.h>
 #include <platform/hardware.h>
 
 #include <linux/compiler.h>
index 3c549f79872712f081e4db4c7dc5ef9bd171540e..0d42c934b66f3404dfefa6d84a25ea9566f69e5f 100644 (file)
@@ -77,6 +77,8 @@
 
 #ifndef __ASSEMBLY__
 
+#include <asm/coprocessor.h>
+
 /*
  * This struct defines the way the registers are stored on the
  * kernel stack during a system call or other kernel entry.
index 070ff8af3a21e45a338c95dad5d0e6d8bb74907c..7dc3f91571856e0eabe7e1e791d527e024a0280e 100644 (file)
@@ -13,6 +13,7 @@
  */
 
 #include <asm/processor.h>
+#include <asm/coprocessor.h>
 
 #include <linux/types.h>
 #include <linux/stddef.h>
index 77fc9f6dc016efc7a7116d37e482ed0883b5ebec..5fd01f6aaf37a57b3cbec0208138b52f94d9bd03 100644 (file)
@@ -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>