Skip to contentSkip to conversation

unify pfn_to_page take 2 [14/25] m68knommu funcs

PATCH New KAMEZAWA Hiroyuki 1 participant 1 message Feb 8, 2006

lore
Share & tools
lore
#0 lore raw

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.

arch/m68knommu/Kconfig +4 -0
Index: test-layout-free-zone/arch/m68knommu/Kconfig
===================================================================
@@ -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"