projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9dd861d
)
mm/hugetlb: make node_hstates array static
author
Alexander Kuleshov
<
[email protected]
>
Fri, 6 Nov 2015 02:50:14 +0000
(18:50 -0800)
committer
Linus Torvalds
<
[email protected]
>
Fri, 6 Nov 2015 03:34:48 +0000
(19:34 -0800)
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 <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
mm/hugetlb.c
patch
|
blob
|
history
diff --git
a/mm/hugetlb.c
b/mm/hugetlb.c
index abfbe8ca3323baa668e0564567307893abc93eba..4fc590a1257d341ad57ac005ae434296f16c9d6f 100644
(file)
--- a/
mm/hugetlb.c
+++ b/
mm/hugetlb.c
@@
-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];
+st
atic st
ruct node_hstate node_hstates[MAX_NUMNODES];
/*
* A subset of global hstate attributes for node devices