mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-23 18:07:03 +00:00
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: Alexander Kuleshov <kuleshovmail@gmail.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
9dd861d55b
commit
b4e289a6a6
@ -2376,7 +2376,7 @@ struct node_hstate {
|
||||
struct kobject *hugepages_kobj;
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user