unify pfn_to_page take 2 [14/25] m68knommu funcs
PATCH 1/1 unify pfn_to_page take 2 [14/25] m68knommu funcs
m68knommu uses virtual address to get page struct.. Because phys_to_virt(addr) == addr now, it looks to be able to use generic one, by defining ARCH_PFN_OFFSET=PAGE_OFFSET >> PAGE_SHIFT.
But I remaind it as it is.
Signed-off-by KAMEZAWA Hiroyuki <[email protected]>
arch/m68knommu/Kconfig +4 -0
@@ -29,6 +29,10 @@ config GENERIC_CALIBRATE_DELAY bool default y +config ARCH_HAS_PFN_TO_PAGE + bool + default y + source "init/Kconfig" menu "Processor type and features"