powerpc/fsl-booke: Fix mapping functions to use phys_addr_t
authorKumar Gala <galak@kernel.crashing.org>
Tue, 10 Feb 2009 03:08:07 +0000 (21:08 -0600)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 17 Feb 2009 17:46:16 +0000 (09:46 -0800)
commit2fca7ba4552ec213fe84b3b9870d04e370830e88
tree0ec4a736f8470379eff351b692a1c82811f83399
parentde1107d35bee044e8f2620e2f396458a10842719
powerpc/fsl-booke: Fix mapping functions to use phys_addr_t

commit 6c24b17453c8dc444a746e45b8a404498fc9fcf7 upstream.

Fixed v_mapped_by_tlbcam() and p_mapped_by_tlbcam() to use phys_addr_t
instead of unsigned long.  In 36-bit physical mode we really need these
functions to deal with phys_addr_t when trying to match a physical
address or when returning one.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/powerpc/mm/fsl_booke_mmu.c
arch/powerpc/mm/pgtable_32.c