public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ps3: "mm/Kconfig" fix
@ 2007-12-08 19:30 Miguel Botón
  2007-12-08 20:06 ` Miguel Botón
  2007-12-09  2:34 ` Geoff Levand
  0 siblings, 2 replies; 3+ messages in thread
From: Miguel Botón @ 2007-12-08 19:30 UTC (permalink / raw)
  To: Linux Kernel Mailing List; +Cc: Geoff Levand

sparsemem-make-sparsemem-vmemmap-selectable.patch introduces a little bug.

SPARSEMEM_VMEMMAP can be enabled in an architecture that doesn't support it. If the
architecture supports SPARSEMEM_VMEMMAP, SPARSEMEM_VMEMMAP_ENABLE is enabled,
so SPARSEMEM_VMEMMAP should depend on it.

Signed-off-by: Miguel Botón <mboton@gmail.com>

diff --git a/mm/Kconfig b/mm/Kconfig
index c0f5cbb..010a261 100644
--- a/mm/Kconfig
+++ b/mm/Kconfig
@@ -117,8 +117,8 @@ config SPARSEMEM_VMEMMAP_ENABLE
 
 config SPARSEMEM_VMEMMAP
 	bool "Sparse Memory virtual memmap"
-	depends on SPARSEMEM
-	default y if (SPARSEMEM_VMEMMAP_ENABLE)
+	depends on SPARSEMEM_VMEMMAP_ENABLE
+	default y
 	help
 	 SPARSEMEM_VMEMMAP uses a virtually mapped memmap to optimise
 	 pfn_to_page and page_to_pfn operations.  This is the most


-- 
	Miguel Botón

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

end of thread, other threads:[~2007-12-09  2:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-08 19:30 [PATCH] ps3: "mm/Kconfig" fix Miguel Botón
2007-12-08 20:06 ` Miguel Botón
2007-12-09  2:34 ` Geoff Levand

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