linux-mips
[Top] [All Lists]

[PATCH] MIPS: Fix preprocessor warnings flaged by GCC 4.4

To: linux-mips@linux-mips.org
Subject: [PATCH] MIPS: Fix preprocessor warnings flaged by GCC 4.4
From: David Daney <ddaney@caviumnetworks.com>
Date: Wed, 17 Dec 2008 18:19:18 -0800
Cc: David Daney <ddaney@caviumnetworks.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
Signed-off-by: David Daney <ddaney@caviumnetworks.com>
---
 arch/mips/include/asm/elf.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/mips/include/asm/elf.h b/arch/mips/include/asm/elf.h
index a8eac16..d58f128 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
-- 
1.5.6.5


<Prev in Thread] Current Thread [Next in Thread>
  • [PATCH] MIPS: Fix preprocessor warnings flaged by GCC 4.4, David Daney <=