public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] unify pfn_to_page take 2 [13/25] m68k funcs
@ 2006-02-08  6:08 KAMEZAWA Hiroyuki
  2006-02-08  6:08 ` Kyle McMartin
  2006-02-08  6:15 ` Al Viro
  0 siblings, 2 replies; 4+ messages in thread
From: KAMEZAWA Hiroyuki @ 2006-02-08  6:08 UTC (permalink / raw)
  To: Linux Kernel Mailing List; +Cc: linux-m68k

m68k seems not to keep 'memmap + pfn == page_to_pfn(pfn)'
because kaddr is remapped.

Use its own pfn_to_page() funcs.

Signed-Off-By: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Index: test-layout-free-zone/arch/m68k/Kconfig
===================================================================
--- test-layout-free-zone.orig/arch/m68k/Kconfig
+++ test-layout-free-zone/arch/m68k/Kconfig
@@ -26,6 +26,10 @@ config ARCH_MAY_HAVE_PC_FDC
  	depends on Q40 || (BROKEN && SUN3X)
  	default y

+config ARHC_HAS_PFN_TO_PAGE
+	bool
+	default y
+
  mainmenu "Linux/68k Kernel Configuration"

  source "init/Kconfig"


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] unify pfn_to_page take 2 [13/25] m68k funcs
  2006-02-08  6:08 [PATCH] unify pfn_to_page take 2 [13/25] m68k funcs KAMEZAWA Hiroyuki
@ 2006-02-08  6:08 ` Kyle McMartin
  2006-02-08  6:44   ` KAMEZAWA Hiroyuki
  2006-02-08  6:15 ` Al Viro
  1 sibling, 1 reply; 4+ messages in thread
From: Kyle McMartin @ 2006-02-08  6:08 UTC (permalink / raw)
  To: KAMEZAWA Hiroyuki; +Cc: Linux Kernel Mailing List, linux-m68k

On Wed, Feb 08, 2006 at 03:08:02PM +0900, KAMEZAWA Hiroyuki wrote:
> +config ARHC_HAS_PFN_TO_PAGE

ARCH_HAS_PFN_TO_PAGE..

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] unify pfn_to_page take 2 [13/25] m68k funcs
  2006-02-08  6:08 [PATCH] unify pfn_to_page take 2 [13/25] m68k funcs KAMEZAWA Hiroyuki
  2006-02-08  6:08 ` Kyle McMartin
@ 2006-02-08  6:15 ` Al Viro
  1 sibling, 0 replies; 4+ messages in thread
From: Al Viro @ 2006-02-08  6:15 UTC (permalink / raw)
  To: KAMEZAWA Hiroyuki; +Cc: Linux Kernel Mailing List, linux-m68k

On Wed, Feb 08, 2006 at 03:08:02PM +0900, KAMEZAWA Hiroyuki wrote:
> m68k seems not to keep 'memmap + pfn == page_to_pfn(pfn)'
> because kaddr is remapped.
> 
> Use its own pfn_to_page() funcs.
> 
> Signed-Off-By: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
> Index: test-layout-free-zone/arch/m68k/Kconfig
> ===================================================================
> --- test-layout-free-zone.orig/arch/m68k/Kconfig
> +++ test-layout-free-zone/arch/m68k/Kconfig
> @@ -26,6 +26,10 @@ config ARCH_MAY_HAVE_PC_FDC
>  	depends on Q40 || (BROKEN && SUN3X)
>  	default y
> 
> +config ARHC_HAS_PFN_TO_PAGE

tpyo?

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] unify pfn_to_page take 2 [13/25] m68k funcs
  2006-02-08  6:08 ` Kyle McMartin
@ 2006-02-08  6:44   ` KAMEZAWA Hiroyuki
  0 siblings, 0 replies; 4+ messages in thread
From: KAMEZAWA Hiroyuki @ 2006-02-08  6:44 UTC (permalink / raw)
  To: Kyle McMartin, Linux Kernel Mailing List; +Cc: linux-m68k, viro

Kyle McMartin wrote:
> On Wed, Feb 08, 2006 at 03:08:02PM +0900, KAMEZAWA Hiroyuki wrote:
>> +config ARHC_HAS_PFN_TO_PAGE
> 
> ARCH_HAS_PFN_TO_PAGE..
> 
Oh.....its typo. Thank you!

This is fixed one.
-- Kame

m68k seems not to keep 'memmap + pfn == page_to_pfn(pfn)'
because kaddr is remapped.

Use its own pfn_to_page() funcs.

Signed-Off-By: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Index: test-layout-free-zone/arch/m68k/Kconfig
===================================================================
--- test-layout-free-zone.orig/arch/m68k/Kconfig
+++ test-layout-free-zone/arch/m68k/Kconfig
@@ -26,6 +26,10 @@ config ARCH_MAY_HAVE_PC_FDC
  	depends on Q40 || (BROKEN && SUN3X)
  	default y

+config ARCH_HAS_PFN_TO_PAGE
+	bool
+	default y
+
  mainmenu "Linux/68k Kernel Configuration"

  source "init/Kconfig"


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-02-08  6:44 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-08  6:08 [PATCH] unify pfn_to_page take 2 [13/25] m68k funcs KAMEZAWA Hiroyuki
2006-02-08  6:08 ` Kyle McMartin
2006-02-08  6:44   ` KAMEZAWA Hiroyuki
2006-02-08  6:15 ` Al Viro

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