diff options
author | David S. Miller <davem@davemloft.net> | 2010-01-14 12:14:53 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-01-14 12:14:53 +0100 |
commit | 8654164f54bd02787ae91db8526dcae8e7e34eeb (patch) | |
tree | 67d523ea1576aa6f9d475415fbb4b766ff6dc94b /arch/arm | |
parent | sparc: Simplify param.h by simply including <asm-generic/param.h> (diff) | |
download | linux-8654164f54bd02787ae91db8526dcae8e7e34eeb.tar.xz linux-8654164f54bd02787ae91db8526dcae8e7e34eeb.zip |
sparc32: Fix page_to_phys().
It doesn't account for phys_base like it should, fix by using
page_to_pfn().
While we're here, make virt_to_page() use pfn_to_page() as well, so we
consistently use the asm/memory-model.h abstractions instead of
open-coding memory model assumptions.
Tested-by: Kristoffer Glembo <kristoffer@gaisler.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/arm')
0 files changed, 0 insertions, 0 deletions