From: David Daney Date: Thu, 18 Dec 2008 02:19:18 +0000 (-0800) Subject: MIPS: Fix preprocessor warnings flaged by GCC 4.4 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=08d9d1c4d44ce43856da048cb0737ef769b61e9a;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git MIPS: Fix preprocessor warnings flaged by GCC 4.4 Signed-off-by: David Daney Signed-off-by: Ralf Baechle --- diff --git a/arch/mips/include/asm/elf.h b/arch/mips/include/asm/elf.h index a8eac1697b3d..d58f128aa747 100644 --- a/arch/mips/include/asm/elf.h +++ b/arch/mips/include/asm/elf.h @@ -232,7 +232,7 @@ typedef elf_fpreg_t elf_fpregset_t[ELF_NFPREG]; */ #ifdef __MIPSEB__ #define ELF_DATA ELFDATA2MSB -#elif __MIPSEL__ +#elif defined(__MIPSEL__) #define ELF_DATA ELFDATA2LSB #endif #define ELF_ARCH EM_MIPS