aboutsummaryrefslogtreecommitdiffstats
path: root/mm/hugetlb.c
diff options
context:
space:
mode:
Diffstat (limited to 'mm/hugetlb.c')
-rw-r--r--mm/hugetlb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mm/hugetlb.c b/mm/hugetlb.c
index 9b9aeef8e590..f8feeeca6686 100644
--- a/mm/hugetlb.c
+++ b/mm/hugetlb.c
@@ -1761,7 +1761,7 @@ static struct hstate *kobj_to_node_hstate(struct kobject *kobj, int *nidp)
1761 * Unregister hstate attributes from a single node device. 1761 * Unregister hstate attributes from a single node device.
1762 * No-op if no hstate attributes attached. 1762 * No-op if no hstate attributes attached.
1763 */ 1763 */
1764void hugetlb_unregister_node(struct node *node) 1764static void hugetlb_unregister_node(struct node *node)
1765{ 1765{
1766 struct hstate *h; 1766 struct hstate *h;
1767 struct node_hstate *nhs = &node_hstates[node->dev.id]; 1767 struct node_hstate *nhs = &node_hstates[node->dev.id];
@@ -1805,7 +1805,7 @@ static void hugetlb_unregister_all_nodes(void)
1805 * Register hstate attributes for a single node device. 1805 * Register hstate attributes for a single node device.
1806 * No-op if attributes already registered. 1806 * No-op if attributes already registered.
1807 */ 1807 */
1808void hugetlb_register_node(struct node *node) 1808static void hugetlb_register_node(struct node *node)
1809{ 1809{
1810 struct hstate *h; 1810 struct hstate *h;
1811 struct node_hstate *nhs = &node_hstates[node->dev.id]; 1811 struct node_hstate *nhs = &node_hstates[node->dev.id];