summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorviresh kumar <viresh.kumar@st.com>2011-02-16 07:40:27 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2011-02-21 20:29:20 +0100
commitd16613586aa064d87ef05e3b929e3b4fdc714cc4 (patch)
treef1f3137ab07fe5fc8648ec375cea286728229ce9 /arch
parentARM: 6676/1: Correct the cpu_architecture() function for ARMv7 (diff)
downloadlinux-d16613586aa064d87ef05e3b929e3b4fdc714cc4.tar.xz
linux-d16613586aa064d87ef05e3b929e3b4fdc714cc4.zip
ARM: 6720/1: SPEAr: Append UL to VMALLOC_END
This patch fixes following warning: arch/arm/mm/init.c:606: warning: format '%08lx' expects type 'long unsigned int', but argument 12 has type 'unsigned int' by appending UL to VMALLOC_END's Number. Reviewed-by: Stanley Miao <stanley.miao@windriver.com> Signed-off-by: Viresh Kumar <viresh.kumar@st.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/plat-spear/include/plat/vmalloc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/plat-spear/include/plat/vmalloc.h b/arch/arm/plat-spear/include/plat/vmalloc.h
index 09e9372aea21..8c8b24d07046 100644
--- a/arch/arm/plat-spear/include/plat/vmalloc.h
+++ b/arch/arm/plat-spear/include/plat/vmalloc.h
@@ -14,6 +14,6 @@
#ifndef __PLAT_VMALLOC_H
#define __PLAT_VMALLOC_H
-#define VMALLOC_END 0xF0000000
+#define VMALLOC_END 0xF0000000UL
#endif /* __PLAT_VMALLOC_H */