Skip to content

Commit

Permalink
ARM: mach-shmobile: fix compile warning in mm/init.c
Browse files Browse the repository at this point in the history
Turn down the warning noise from the compiler,
basically a SH-Mobile specific version of the
patch located in the RMK patch tracker:

6484/1: "fix compile warning in mm/init.c",

Without this patch the following warning triggers:

 CC      arch/arm/kernel/sys_arm.o
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'
  CC      arch/arm/kernel/traps.o

Signed-off-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
  • Loading branch information
Magnus Damm authored and Paul Mundt committed Dec 17, 2010
1 parent b3444d1 commit 676b14c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm/mach-shmobile/include/mach/vmalloc.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
#define __ASM_MACH_VMALLOC_H

/* Vmalloc at ... - 0xe5ffffff */
#define VMALLOC_END 0xe6000000
#define VMALLOC_END 0xe6000000UL

#endif /* __ASM_MACH_VMALLOC_H */

0 comments on commit 676b14c

Please sign in to comment.