Kumar Gala 65e43a1063 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>
2008-12-15 22:04:29 +01:00
..
2003-06-27 21:31:46 +00:00
2008-03-25 11:43:17 +09:00
2008-03-25 11:43:17 +09:00
2008-05-21 00:14:08 +02:00
2008-10-18 21:54:03 +02:00
2003-06-27 21:31:46 +00:00
2008-12-15 22:04:29 +01:00
2008-03-25 11:43:17 +09:00
2003-06-27 21:31:46 +00:00
2008-03-25 11:43:17 +09:00
2008-03-25 11:43:17 +09:00
2008-03-25 21:30:07 +09:00
2008-03-25 11:43:17 +09:00
2008-03-25 11:43:17 +09:00
2003-06-27 21:31:46 +00:00