diff options
author | David Brown <davidb@codeaurora.org> | 2010-11-12 22:49:53 +0100 |
---|---|---|
committer | Daniel Walker <dwalker@codeaurora.org> | 2010-11-16 21:28:05 +0100 |
commit | 44d4a4f784d0e1a50b3f1fc52bd6a661846abdc5 (patch) | |
tree | 1eb8535a5c4a159159e5db6267f744ad335eeffe /arch/arm/mach-msm/include | |
parent | msm: smd: ifdef adjustment to remove unused variables (diff) | |
download | linux-44d4a4f784d0e1a50b3f1fc52bd6a661846abdc5.tar.xz 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/include')
-rw-r--r-- | arch/arm/mach-msm/include/mach/vmalloc.h | 2 |
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 |