aboutsummaryrefslogtreecommitdiff
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 19:29:20 +0000
commitd16613586aa064d87ef05e3b929e3b4fdc714cc4 (patch)
treef1f3137ab07fe5fc8648ec375cea286728229ce9
parent315cfe7835c9a3fe27f15519bdeee8bf0a293e33 (diff)
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>
-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 09e9372aea2..8c8b24d0704 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 */