Re: [PATCH 2/4] mm: Enable set_page_section() only if CONFIG_SPARSEMEMand !CONFIG_SPARSEMEM_VMEMMAP

From: David Rientjes
Date: Wed May 11 2011 - 19:10:31 EST


On Mon, 2 May 2011, Daniel Kiper wrote:

> set_page_section() is valid only in CONFIG_SPARSEMEM and
> !CONFIG_SPARSEMEM_VMEMMAP context.

s/valid/needed/. set_page_section() _is_ valid in all contexts since
SECTIONS_MASK and SECTIONS_PGSHIFT is defined in all contexts.

> Move it to proper place
> and amend accordingly functions which are using it.
>
> Signed-off-by: Daniel Kiper <dkiper@xxxxxxxxxxxx>

After the changelog is fixed:

Acked-by: David Rientjes <rientjes@xxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/