summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Daney <ddaney@caviumnetworks.com>2008-12-18 03:19:18 +0100
committerRalf Baechle <ralf@linux-mips.org>2008-12-22 09:54:47 +0100
commit08d9d1c4d44ce43856da048cb0737ef769b61e9a (patch)
tree1969f4d4521301bd8680b0597ba8882589c314b3
parentNull pointer deref with hrtimer_try_to_cancel() (diff)
downloadlinux-08d9d1c4d44ce43856da048cb0737ef769b61e9a.tar.xz
linux-08d9d1c4d44ce43856da048cb0737ef769b61e9a.zip
MIPS: Fix preprocessor warnings flaged by GCC 4.4
Signed-off-by: David Daney <ddaney@caviumnetworks.com> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
-rw-r--r--arch/mips/include/asm/elf.h2
1 files changed, 1 insertions, 1 deletions
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