projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b8b572e
)
powerpc: Fix compiler warning in arch/powerpc/mm/mem.c
author
Tony Breeds
<tony@bakeyournoodle.com>
Thu, 31 Jul 2008 03:51:42 +0000
(13:51 +1000)
committer
Paul Mackerras
<paulus@samba.org>
Mon, 4 Aug 2008 03:18:17 +0000
(13:18 +1000)
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>
arch/powerpc/mm/mem.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/powerpc/mm/mem.c
b/arch/powerpc/mm/mem.c
index 702691cb9e82361bd5de91cc8c0445411aea6c37..1c93c255873b5a4fb9640dd2de7d58332dfabded 100644
(file)
--- a/
arch/powerpc/mm/mem.c
+++ b/
arch/powerpc/mm/mem.c
@@
-311,7
+311,7
@@
void __init paging_init(void)
#endif /* CONFIG_HIGHMEM */
printk(KERN_DEBUG "Top of RAM: 0x%llx, Total RAM: 0x%lx\n",
- (u
64
)top_of_ram, total_ram);
+ (u
nsigned long long
)top_of_ram, total_ram);
printk(KERN_DEBUG "Memory hole size: %ldMB\n",
(long int)((top_of_ram - total_ram) >> 20));
memset(max_zone_pfns, 0, sizeof(max_zone_pfns));