[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <200712082030.11338.mboton@gmail.com>
Date: Sat, 8 Dec 2007 20:30:11 +0100
From: Miguel Botón <mboton.lkml@...il.com>
To: Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Cc: Geoff Levand <geoffrey.levand@...sony.com>
Subject: [PATCH] ps3: "mm/Kconfig" fix
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@...il.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists