]> err.no Git - linux-2.6/commit
powerpc: Change BAT code to use phys_addr_t
authorBecky Bruce <becky.bruce@freescale.com>
Fri, 13 Jun 2008 23:41:42 +0000 (09:41 +1000)
committerPaul Mackerras <paulus@samba.org>
Mon, 30 Jun 2008 12:31:03 +0000 (22:31 +1000)
commit7c5c4325d2d911fe54db3bc14149bfa558ae0acb
tree97c02e9d03bbbb1fff89e9e44eef1e53762e823e
parentbf2737f74ffd36f43c6ed11cd2c0826e1d59ad48
powerpc: Change BAT code to use phys_addr_t

Currently, the physical address is an unsigned long, but it should
be phys_addr_t in set_bat, [v/p]_mapped_by_bat.  Also, create a
macro that can convert a large physical address into the correct
format for programming the BAT registers.

Signed-off-by: Becky Bruce <becky.bruce@freescale.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/mm/mmu_decl.h
arch/powerpc/mm/pgtable_32.c
arch/powerpc/mm/ppc_mmu_32.c
include/asm-powerpc/mmu-hash32.h