public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] unify pfn_to_page take 2 [14/25] m68knommu funcs
@ 2006-02-08  6:10 KAMEZAWA Hiroyuki
  0 siblings, 0 replies; only message in thread
From: KAMEZAWA Hiroyuki @ 2006-02-08  6:10 UTC (permalink / raw)
  To: Linux Kernel Mailing List; +Cc: gerg

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@jp.fujitsu.com>

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"


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-02-08  6:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-08  6:10 [PATCH] unify pfn_to_page take 2 [14/25] m68knommu funcs KAMEZAWA Hiroyuki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox