Skip to content

Commit f77cfbe

Browse files
committed
Merge tag 'for-linus' of git://linux-c6x.org/git/projects/linux-c6x-upstreaming
Pull c6x updates from Mark Salter. * tag 'for-linus' of git://linux-c6x.org/git/projects/linux-c6x-upstreaming: c6x: pass endianness info to sparse c6x: fix platforms/plldata.c get_coreid build error c6x: remove unused KTHREAD_SIZE definition
2 parents 948869f + 85fa2cc commit f77cfbe

File tree

3 files changed

+2
-1
lines changed

3 files changed

+2
-1
lines changed

arch/c6x/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ KBUILD_AFLAGS += -mbig-endian
2525
LINKFLAGS += -mbig-endian
2626
KBUILD_LDFLAGS += -mbig-endian
2727
LDFLAGS += -EB
28+
CHECKFLAGS += -D_BIG_ENDIAN
2829
endif
2930

3031
head-y := arch/c6x/kernel/head.o

arch/c6x/kernel/asm-offsets.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,6 @@ void foo(void)
107107
/* These would be unneccessary if we ran asm files
108108
* through the preprocessor.
109109
*/
110-
DEFINE(KTHREAD_SIZE, THREAD_SIZE);
111110
DEFINE(KTHREAD_SHIFT, THREAD_SHIFT);
112111
DEFINE(KTHREAD_START_SP, THREAD_START_SP);
113112
DEFINE(ENOSYS_, ENOSYS);

arch/c6x/platforms/plldata.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919

2020
#include <asm/clock.h>
2121
#include <asm/setup.h>
22+
#include <asm/special_insns.h>
2223
#include <asm/irq.h>
2324

2425
/*

0 commit comments

Comments
 (0)