]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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:28:50 +0000 (09:28 -0800)
commit253fbe94bfb517a756fab5bffa903405570d9220
treeda9d41aaeea8a55b43995aff17853a3080014b71
parent65a4554e3ec4f21c1178594560c46f19404fafc4
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