powerpc/mm: Fix output of total_ram.
commitf7ba2991e9063fa8cf668ee57c08e2842ad04f11
authorTony Breeds <tony@bakeyournoodle.com>
Mon, 4 Jul 2011 18:44:19 +0000 (4 18:44 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 19 Jul 2011 05:13:04 +0000 (19 15:13 +1000)
treec653ecb4d1dce0a60e30ff0aa97a143c53656b6c
parent5d8c665889e27e1b8989ca465166e8897dc302d1
powerpc/mm: Fix output of total_ram.

On 32bit platforms that support >= 4GB memory total_ram was truncated.
This creates a confusing printk:
Top of RAM: 0x100000000, Total RAM: 0x0
Fix that:
Top of RAM: 0x100000000, Total RAM: 0x100000000

Signed-off-by: Tony Breeds <tony@bakeyournoodle.com>
Acked-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/mm/mem.c