diff options
author | Tony Breeds <tony@bakeyournoodle.com> | 2008-07-30 23:51:42 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2008-08-03 23:18:17 -0400 |
commit | fb61063587982b52304d62cdbb6a0a88d26ae7ef (patch) | |
tree | df68b188d898f01e76ab7d350ec3abcf59e149e2 | |
parent | b8b572e1015f81b4e748417be2629dfe51ab99f9 (diff) |
powerpc: Fix compiler warning in arch/powerpc/mm/mem.c
Explicitly cast to unsigned long long, rather than u64.
Signed-off-by: Tony Breeds <tony@bakeyournoodle.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
-rw-r--r-- | arch/powerpc/mm/mem.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/mm/mem.c b/arch/powerpc/mm/mem.c index 702691cb9e82..1c93c255873b 100644 --- a/arch/powerpc/mm/mem.c +++ b/arch/powerpc/mm/mem.c | |||
@@ -311,7 +311,7 @@ void __init paging_init(void) | |||
311 | #endif /* CONFIG_HIGHMEM */ | 311 | #endif /* CONFIG_HIGHMEM */ |
312 | 312 | ||
313 | printk(KERN_DEBUG "Top of RAM: 0x%llx, Total RAM: 0x%lx\n", | 313 | printk(KERN_DEBUG "Top of RAM: 0x%llx, Total RAM: 0x%lx\n", |
314 | (u64)top_of_ram, total_ram); | 314 | (unsigned long long)top_of_ram, total_ram); |
315 | printk(KERN_DEBUG "Memory hole size: %ldMB\n", | 315 | printk(KERN_DEBUG "Memory hole size: %ldMB\n", |
316 | (long int)((top_of_ram - total_ram) >> 20)); | 316 | (long int)((top_of_ram - total_ram) >> 20)); |
317 | memset(max_zone_pfns, 0, sizeof(max_zone_pfns)); | 317 | memset(max_zone_pfns, 0, sizeof(max_zone_pfns)); |