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

David Rientjes
2010-01-13T20:51:26Z

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@suse.com>

Acked-by: David Rientjes <rientjes@google.com>