summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-msm
diff options
context:
space:
mode:
authorDavid Brown <davidb@codeaurora.org>2010-11-12 13:49:53 -0800
committerDaniel Walker <dwalker@codeaurora.org>2010-11-16 12:28:05 -0800
commit44d4a4f784d0e1a50b3f1fc52bd6a661846abdc5 (patch)
tree1eb8535a5c4a159159e5db6267f744ad335eeffe /arch/arm/mach-msm
parentd2c5d2145f127fffb7498bee943a480de66910ff (diff)
downloadlinux-44d4a4f784d0e1a50b3f1fc52bd6a661846abdc5.tar.gz
linux-44d4a4f784d0e1a50b3f1fc52bd6a661846abdc5.tar.bz2
linux-44d4a4f784d0e1a50b3f1fc52bd6a661846abdc5.zip
msm: make constant unsigned long to correct format warning
Define VMALLOC_END as an unsigned long to match expected type. Eliminates a warning: arch/arm/mm/init.c: In function 'mem_init': arch/arm/mm/init.c:606: warning: format '%08lx' expects type 'long unsigned int', but argument 12 has type 'unsigned int' Signed-off-by: David Brown <davidb@codeaurora.org> Signed-off-by: Daniel Walker <dwalker@codeaurora.org>
Diffstat (limited to 'arch/arm/mach-msm')
-rw-r--r--arch/arm/mach-msm/include/mach/vmalloc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-msm/include/mach/vmalloc.h b/arch/arm/mach-msm/include/mach/vmalloc.h
index 31a32ad062dc..d138448eff16 100644
--- a/arch/arm/mach-msm/include/mach/vmalloc.h
+++ b/arch/arm/mach-msm/include/mach/vmalloc.h
@@ -16,7 +16,7 @@
#ifndef __ASM_ARCH_MSM_VMALLOC_H
#define __ASM_ARCH_MSM_VMALLOC_H
-#define VMALLOC_END 0xd0000000
+#define VMALLOC_END 0xd0000000UL
#endif