commit | 7c5c4325d2d911fe54db3bc14149bfa558ae0acb | [log] [tgz] |
---|---|---|
author | Becky Bruce <becky.bruce@freescale.com> | Sat Jun 14 09:41:42 2008 +1000 |
committer | Paul Mackerras <paulus@samba.org> | Mon Jun 30 22:31:03 2008 +1000 |
tree | 97c02e9d03bbbb1fff89e9e44eef1e53762e823e | |
parent | bf2737f74ffd36f43c6ed11cd2c0826e1d59ad48 [diff] |
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>