aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/c6x/Makefile1
-rw-r--r--arch/c6x/kernel/asm-offsets.c1
-rw-r--r--arch/c6x/platforms/plldata.c1
3 files changed, 2 insertions, 1 deletions
diff --git a/arch/c6x/Makefile b/arch/c6x/Makefile
index 6f6096ff05a4..6ab942e6c534 100644
--- a/arch/c6x/Makefile
+++ b/arch/c6x/Makefile
@@ -25,6 +25,7 @@ KBUILD_AFLAGS += -mbig-endian
25LINKFLAGS += -mbig-endian 25LINKFLAGS += -mbig-endian
26KBUILD_LDFLAGS += -mbig-endian 26KBUILD_LDFLAGS += -mbig-endian
27LDFLAGS += -EB 27LDFLAGS += -EB
28CHECKFLAGS += -D_BIG_ENDIAN
28endif 29endif
29 30
30head-y := arch/c6x/kernel/head.o 31head-y := arch/c6x/kernel/head.o
diff --git a/arch/c6x/kernel/asm-offsets.c b/arch/c6x/kernel/asm-offsets.c
index cff57764fcad..0f8fde494875 100644
--- a/arch/c6x/kernel/asm-offsets.c
+++ b/arch/c6x/kernel/asm-offsets.c
@@ -107,7 +107,6 @@ void foo(void)
107 /* These would be unneccessary if we ran asm files 107 /* These would be unneccessary if we ran asm files
108 * through the preprocessor. 108 * through the preprocessor.
109 */ 109 */
110 DEFINE(KTHREAD_SIZE, THREAD_SIZE);
111 DEFINE(KTHREAD_SHIFT, THREAD_SHIFT); 110 DEFINE(KTHREAD_SHIFT, THREAD_SHIFT);
112 DEFINE(KTHREAD_START_SP, THREAD_START_SP); 111 DEFINE(KTHREAD_START_SP, THREAD_START_SP);
113 DEFINE(ENOSYS_, ENOSYS); 112 DEFINE(ENOSYS_, ENOSYS);
diff --git a/arch/c6x/platforms/plldata.c b/arch/c6x/platforms/plldata.c
index e8b6cc6a7b5a..1ef04b5ab93f 100644
--- a/arch/c6x/platforms/plldata.c
+++ b/arch/c6x/platforms/plldata.c
@@ -19,6 +19,7 @@
19 19
20#include <asm/clock.h> 20#include <asm/clock.h>
21#include <asm/setup.h> 21#include <asm/setup.h>
22#include <asm/special_insns.h>
22#include <asm/irq.h> 23#include <asm/irq.h>
23 24
24/* 25/*