Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 259155
b: refs/heads/master
c: f7ba299
h: refs/heads/master
i:
  259153: 11dbd95
  259151: a7c242d
v: v3
  • Loading branch information
Tony Breeds authored and Benjamin Herrenschmidt committed Jul 19, 2011
1 parent 3a41975 commit 7a78af7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5d8c665889e27e1b8989ca465166e8897dc302d1
refs/heads/master: f7ba2991e9063fa8cf668ee57c08e2842ad04f11
4 changes: 2 additions & 2 deletions trunk/arch/powerpc/mm/mem.c
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ static int __init mark_nonram_nosave(void)
*/
void __init paging_init(void)
{
unsigned long total_ram = memblock_phys_mem_size();
unsigned long long total_ram = memblock_phys_mem_size();
phys_addr_t top_of_ram = memblock_end_of_DRAM();
unsigned long max_zone_pfns[MAX_NR_ZONES];

Expand All @@ -269,7 +269,7 @@ void __init paging_init(void)
kmap_prot = PAGE_KERNEL;
#endif /* CONFIG_HIGHMEM */

printk(KERN_DEBUG "Top of RAM: 0x%llx, Total RAM: 0x%lx\n",
printk(KERN_DEBUG "Top of RAM: 0x%llx, Total RAM: 0x%llx\n",
(unsigned long long)top_of_ram, total_ram);
printk(KERN_DEBUG "Memory hole size: %ldMB\n",
(long int)((top_of_ram - total_ram) >> 20));
Expand Down

0 comments on commit 7a78af7

Please sign in to comment.