[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20091013194950.2f8f0fe1.akpm@linux-foundation.org>
Date: Tue, 13 Oct 2009 19:49:50 -0700
From: Andrew Morton <akpm@...ux-foundation.org>
To: Russell King <rmk+lkml@....linux.org.uk>
Cc: Linux Kernel List <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] Fix sparsemem configuration
On Mon, 5 Oct 2009 16:05:30 +0100 Russell King <rmk+lkml@....linux.org.uk> wrote:
> Currently, sparsemem is only available if EXPERIMENTAL is enabled.
> However, it hasn't ever been marked experimental.
>
> It's been about four years since sparsemem was merged, and we have
> platforms which depend on it; allow architectures to decide whether
> sparsemem should be the default memory model.
>
> Signed-off-by: Russell King <rmk+kernel@....linux.org.uk>
> --
> mm/Kconfig | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/mm/Kconfig b/mm/Kconfig
> index 2477607..95b2965 100644
> --- a/mm/Kconfig
> +++ b/mm/Kconfig
> @@ -67,7 +67,7 @@ config DISCONTIGMEM
>
> config SPARSEMEM
> def_bool y
> - depends on SPARSEMEM_MANUAL
> + depends on (!SELECT_MEMORY_MODEL && ARCH_SPARSEMEM_ENABLE) || SPARSEMEM_MANUAL
>
> config FLATMEM
> def_bool y
Can you suggest which kernel version(s) we should merge this into? I'm
struggling.
Ta.
--
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