m68knommu: Correct page_to_phys when PAGE_OFFSET is non-zero.
authorSteven King <sfking@fdwdc.com>
Thu, 12 Jun 2014 03:01:10 +0000 (20:01 -0700)
committerGreg Ungerer <gerg@uclinux.org>
Fri, 20 Jun 2014 05:11:20 +0000 (15:11 +1000)
commit817f72d680828bb848099adf69fd35c14ff2e182
tree5fb8fb3d15a11caaa28f499a31ba06869e577057
parent7171511eaec5bf23fb06078f59784a3a0626b38f
m68knommu: Correct page_to_phys when PAGE_OFFSET is non-zero.

The definition of page_to_phys for nommu produces an incorrect value when
PAGE_OFFSET is non-zero.  The nommu version of page_to_pfn works correctly
for non-zero PAGE_OFFSET, so use that instead.

Signed-off-by: Steven King <sfking@fdwdc.com>
Signed-off-by: Greg Ungerer <gerg@uclinux.org>
arch/m68k/include/asm/virtconvert.h