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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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]>

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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux