Re: [patch] hugetlb: Fix section mismatches #2

From: David Rientjes
Date: Wed Jan 13 2010 - 15:51:30 EST


On Wed, 13 Jan 2010, Jeff Mahoney wrote:

> hugetlb_register_node calls hugetlb_sysfs_add_hstate, which is marked with
> __init. Since hugetlb_register_node is only called by
> hugetlb_register_all_nodes, which in turn is only called by hugetlb_init,
> it's safe to mark both of them as __init.
>
> Signed-off-by: Jeff Mahoney <jeffm@xxxxxxxx>

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/