From: Luiz Capitulino Date: Sat, 13 Dec 2014 00:55:24 +0000 (-0800) Subject: hugetlb: hugetlb_register_all_nodes(): add __init marker X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=7d9ca0004fc356d8606ded88a7d5d06550aac946;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git hugetlb: hugetlb_register_all_nodes(): add __init marker This function is only called during initialization. Signed-off-by: Luiz Capitulino Cc: Andi Kleen Acked-by: David Rientjes Cc: Rik van Riel Cc: Yasuaki Ishimatsu Cc: Yinghai Lu Cc: Davidlohr Bueso Acked-by: Naoya Horiguchi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/mm/hugetlb.c b/mm/hugetlb.c index 452a4e536237..47f6070d7c46 100644 --- a/mm/hugetlb.c +++ b/mm/hugetlb.c @@ -2083,7 +2083,7 @@ static void hugetlb_register_node(struct node *node) * devices of nodes that have memory. All on-line nodes should have * registered their associated device by this time. */ -static void hugetlb_register_all_nodes(void) +static void __init hugetlb_register_all_nodes(void) { int nid;