Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b4e289a6 authored by Alexander Kuleshov's avatar Alexander Kuleshov Committed by Linus Torvalds
Browse files

mm/hugetlb: make node_hstates array static



There are no users of the node_hstates array outside of the
mm/hugetlb.c. So let's make it static.

Signed-off-by: default avatarAlexander Kuleshov <kuleshovmail@gmail.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 9dd861d5
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -2376,7 +2376,7 @@ struct node_hstate {
	struct kobject		*hugepages_kobj;
	struct kobject		*hugepages_kobj;
	struct kobject		*hstate_kobjs[HUGE_MAX_HSTATE];
	struct kobject		*hstate_kobjs[HUGE_MAX_HSTATE];
};
};
struct node_hstate node_hstates[MAX_NUMNODES];
static struct node_hstate node_hstates[MAX_NUMNODES];


/*
/*
 * A subset of global hstate attributes for node devices
 * A subset of global hstate attributes for node devices