aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuiz Capitulino <[email protected]>2014-12-12 16:55:24 -0800
committerLinus Torvalds <[email protected]>2014-12-13 12:42:47 -0800
commit7d9ca0004fc356d8606ded88a7d5d06550aac946 (patch)
tree9326f2f6f591e10611c2804891fdd60aae1fc550
parentdf994ead54571f775329388c47f273c55e83b4d1 (diff)
hugetlb: hugetlb_register_all_nodes(): add __init marker
This function is only called during initialization. Signed-off-by: Luiz Capitulino <[email protected]> Cc: Andi Kleen <[email protected]> Acked-by: David Rientjes <[email protected]> Cc: Rik van Riel <[email protected]> Cc: Yasuaki Ishimatsu <[email protected]> Cc: Yinghai Lu <[email protected]> Cc: Davidlohr Bueso <[email protected]> Acked-by: Naoya Horiguchi <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
-rw-r--r--mm/hugetlb.c2
1 files changed, 1 insertions, 1 deletions
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;