[PATCH 5/8] Silence warning in arch/powerpc/mm/ppc_mmu_32.c
Tony Breeds
tony at bakeyournoodle.com
Thu Jul 31 13:51:43 EST 2008
total_memory is a 'phys_addr_t', cast to unsigned long to silence
warning.
Signed-off-by: Tony Breeds <tony at bakeyournoodle.com>
---
arch/powerpc/mm/ppc_mmu_32.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/powerpc/mm/ppc_mmu_32.c b/arch/powerpc/mm/ppc_mmu_32.c
index c53145f..9c19655 100644
--- a/arch/powerpc/mm/ppc_mmu_32.c
+++ b/arch/powerpc/mm/ppc_mmu_32.c
@@ -237,7 +237,7 @@ void __init MMU_init_hw(void)
Hash_end = (struct hash_pte *) ((unsigned long)Hash + Hash_size);
printk("Total memory = %ldMB; using %ldkB for hash table (at %p)\n",
- total_memory >> 20, Hash_size >> 10, Hash);
+ (unsigned long)total_memory >> 20, Hash_size >> 10, Hash);
/*
--
1.5.6.3
More information about the Linuxppc-dev
mailing list