summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyungmin Park <kyungmin.park@samsung.com>2010-08-21 09:09:27 +0900
committerKukjin Kim <kgene.kim@samsung.com>2010-08-23 10:50:36 +0900
commitc1eea3756a9b16d8def6cf194a6ee74eb65b7aef (patch)
treee359d2b782bf71e6bcfc90538edaa4862525f4e7
parent76be97c1fc945db08aae1f1b746012662d643e97 (diff)
downloadlinux-3.10-c1eea3756a9b16d8def6cf194a6ee74eb65b7aef.tar.gz
linux-3.10-c1eea3756a9b16d8def6cf194a6ee74eb65b7aef.tar.bz2
linux-3.10-c1eea3756a9b16d8def6cf194a6ee74eb65b7aef.zip
ARM: S5P: VMALLOC_END should be unsigned long
Silences following build warning: arch/arm/mm/init.c: In function 'mem_init': arch/arm/mm/init.c:644: warning: format '%08lx' expects type 'long unsigned int', but argument 12 has type 'unsigned int' Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
-rw-r--r--arch/arm/mach-s5pv210/include/mach/vmalloc.h2
-rw-r--r--arch/arm/mach-s5pv310/include/mach/vmalloc.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-s5pv210/include/mach/vmalloc.h b/arch/arm/mach-s5pv210/include/mach/vmalloc.h
index 58f515e0747..df9a2880832 100644
--- a/arch/arm/mach-s5pv210/include/mach/vmalloc.h
+++ b/arch/arm/mach-s5pv210/include/mach/vmalloc.h
@@ -17,6 +17,6 @@
#ifndef __ASM_ARCH_VMALLOC_H
#define __ASM_ARCH_VMALLOC_H __FILE__
-#define VMALLOC_END (0xE0000000)
+#define VMALLOC_END (0xE0000000UL)
#endif /* __ASM_ARCH_VMALLOC_H */
diff --git a/arch/arm/mach-s5pv310/include/mach/vmalloc.h b/arch/arm/mach-s5pv310/include/mach/vmalloc.h
index 3f565ebb7da..256f221edf3 100644
--- a/arch/arm/mach-s5pv310/include/mach/vmalloc.h
+++ b/arch/arm/mach-s5pv310/include/mach/vmalloc.h
@@ -17,6 +17,6 @@
#ifndef __ASM_ARCH_VMALLOC_H
#define __ASM_ARCH_VMALLOC_H __FILE__
-#define VMALLOC_END (0xF0000000)
+#define VMALLOC_END (0xF0000000UL)
#endif /* __ASM_ARCH_VMALLOC_H */