Skip to contentSkip to conversation

unify pfn_to_page take 2 [13/25] m68k funcs

PATCH In review KAMEZAWA Hiroyuki 3 participants 4 messages Feb 8, 2006 m68k architecture

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 unify pfn_to_page take 2 [13/25] m68k funcs

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

Use its own pfn_to_page() funcs.

arch/m68k/Kconfig +4 -0
Index: 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"
#1 lore raw
Quoted 1 line · KAMEZAWA Hiroyuki

+config ARHC_HAS_PFN_TO_PAGE

ARCH_HAS_PFN_TO_PAGE..

#3 lore raw
In reply to KAMEZAWA Hiroyuki
Quoted 11 lines · KAMEZAWA Hiroyuki

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

Use its own pfn_to_page() funcs.

Index: test-layout-free-zone/arch/m68k/Kconfig
===================================================================

arch/m68k/Kconfig config ARCH_MAY_HAVE_PC_FDC · line 29

Quoted 4 lines
arch/m68k/Kconfig +1 -0
@@ -26,6 +26,10 @@ config ARCH_MAY_HAVE_PC_FDC
 	depends on Q40 || (BROKEN && SUN3X)
 	default y
 
+config ARHC_HAS_PFN_TO_PAGE

tpyo?

#2 lore raw
In reply to Kyle McMartin
Quoted 5 lines · Kyle McMartin
Quoted 1 line · KAMEZAWA Hiroyuki

+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.

arch/m68k/Kconfig +4 -0
Index: 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"