mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-24 09:51:00 +07:00
hugetlb: hugetlb_register_all_nodes(): add __init marker
This function is only called during initialization. Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com> Cc: Andi Kleen <andi@firstfloor.org> Acked-by: David Rientjes <rientjes@google.com> Cc: Rik van Riel <riel@redhat.com> Cc: Yasuaki Ishimatsu <isimatu.yasuaki@jp.fujitsu.com> Cc: Yinghai Lu <yinghai@kernel.org> Cc: Davidlohr Bueso <dave@stgolabs.net> Acked-by: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
df994ead54
commit
7d9ca0004f
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user