diff options
author | Kumar Gala <galak@kernel.crashing.org> | 2008-12-13 23:20:27 (GMT) |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-12-15 21:04:29 (GMT) |
commit | 65e43a10631537dcb92c302d36301a12308216c3 (patch) | |
tree | 68b2712c8c277d0489768ecbff8ed031dde00a3f /cpu/pxa/interrupts.c | |
parent | 45845301af3de8675c1f7bbc815c6de35452605a (diff) | |
download | u-boot-65e43a10631537dcb92c302d36301a12308216c3.tar.xz |
Introduce virt_to_phys()
virt_to_phys() returns the physical address given a virtual. In most
cases this will be just the input value as the vast majority of
systems run in a 1:1 mode.
However in systems that are not running this way it should report the
physical address or ~0 if no mapping exists for the given virtual
address.
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'cpu/pxa/interrupts.c')
0 files changed, 0 insertions, 0 deletions