[PATCH] unify pfn_to_page take 2 [14/25] m68knommu funcs

From: KAMEZAWA Hiroyuki
Date: Wed Feb 08 2006 - 01:07:48 EST


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 <kamezawa.hiroyu@xxxxxxxxxxxxxx>

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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/