Previous patch had another bug. This one works fine.

Signed-off-by: Miguel Botón <[EMAIL PROTECTED]>

diff --git a/mm/Kconfig b/mm/Kconfig
index 010a261..9ef9741 100644
--- a/mm/Kconfig
+++ b/mm/Kconfig
@@ -117,7 +117,7 @@ config SPARSEMEM_VMEMMAP_ENABLE
 
 config SPARSEMEM_VMEMMAP
        bool "Sparse Memory virtual memmap"
-       depends on SPARSEMEM_VMEMMAP_ENABLE
+       depends on SPARSEMEM && SPARSEMEM_VMEMMAP_ENABLE
        default y
        help
         SPARSEMEM_VMEMMAP uses a virtually mapped memmap to optimise


-- 
        Miguel Botón
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to