1 --- a/arch/mips/kernel/Makefile
2 +++ b/arch/mips/kernel/Makefile
4 # Makefile for the Linux/MIPS kernel.
7 +CPPFLAGS_vmlinux.lds := $(KBUILD_CFLAGS) $(EXTRA_LDSFLAGS)
9 extra-y := head.o init_task.o vmlinux.lds
11 obj-y += cpu-probe.o branch.o entry.o genex.o irq.o process.o \
12 --- a/arch/mips/kernel/vmlinux.lds.S
13 +++ b/arch/mips/kernel/vmlinux.lds.S
14 @@ -10,15 +10,15 @@ PHDRS {
15 note PT_NOTE FLAGS(4); /* R__ */
19 - ifdef CONFIG_CPU_LITTLE_ENDIAN
21 + #ifdef CONFIG_CPU_LITTLE_ENDIAN
25 jiffies = jiffies_64 + 4;