aboutsummaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2009-10-10 22:24:55 +0900
committerPaul Mundt <lethal@linux-sh.org>2009-10-10 22:24:55 +0900
commit2a8bc923455f320da6c460258c21d2235ab2edc8 (patch)
tree688852d31d01c16e3a05cb8364dbe5e2dde77ad3 /arch
parent20b5014b3e5fe7b874a3f6a1dc03b0c21cb222cd (diff)
sh: Shut up CONFIG_32BIT=n compiler warnings.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/sh/include/asm/pgtable.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh/include/asm/pgtable.h b/arch/sh/include/asm/pgtable.h
index 5dff5787dfe..ba3046e4f06 100644
--- a/arch/sh/include/asm/pgtable.h
+++ b/arch/sh/include/asm/pgtable.h
@@ -87,7 +87,7 @@ static inline unsigned long phys_addr_mask(void)
return PHYS_ADDR_MASK32;
}
-#elif CONFIG_32BIT
+#elif defined(CONFIG_32BIT)
static inline unsigned long phys_addr_mask(void)
{
return PHYS_ADDR_MASK32;