Hi Tony,
On Thu, 31 Jul 2008 13:51:43 +1000 (EST) Tony Breeds <[EMAIL PROTECTED]> wrote:
>
> total_memory is a 'phys_addr_t', cast to unsigned long to silence
> warning.
>
> Signed-off-by: Tony Breeds <[EMAIL PROTECTED]>
> ---
> 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);Will this ever be built with CONFIG_PHYS_64BIT? -- Cheers, Stephen Rothwell [EMAIL PROTECTED] http://www.canb.auug.org.au/~sfr/
pgpjaj7Ilgh73.pgp
Description: PGP signature
_______________________________________________ Linuxppc-dev mailing list [email protected] https://ozlabs.org/mailman/listinfo/linuxppc-dev
