MIPS: Fix preprocessor warnings flaged by GCC 4.4
authorDavid Daney <ddaney@caviumnetworks.com>
Thu, 18 Dec 2008 02:19:18 +0000 (18:19 -0800)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 22 Dec 2008 08:54:47 +0000 (08:54 +0000)
Signed-off-by: David Daney <ddaney@caviumnetworks.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/include/asm/elf.h

index a8eac1697b3ddcf05dccc71d42267c549cc40904..d58f128aa747be974ac10ffd5fb1749d3292f505 100644 (file)
@@ -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