lkml.org 
[lkml]   [2006]   [Feb]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] 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 <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"
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-02-08 07:12    [W:0.035 / U:0.076 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site