|
@@ -1763,7 +1763,7 @@ static struct hstate *kobj_to_node_hstate(struct kobject *kobj, int *nidp)
|
|
|
* Unregister hstate attributes from a single node device.
|
|
|
* No-op if no hstate attributes attached.
|
|
|
*/
|
|
|
-void hugetlb_unregister_node(struct node *node)
|
|
|
+static void hugetlb_unregister_node(struct node *node)
|
|
|
{
|
|
|
struct hstate *h;
|
|
|
struct node_hstate *nhs = &node_hstates[node->dev.id];
|
|
@@ -1807,7 +1807,7 @@ static void hugetlb_unregister_all_nodes(void)
|
|
|
* Register hstate attributes for a single node device.
|
|
|
* No-op if attributes already registered.
|
|
|
*/
|
|
|
-void hugetlb_register_node(struct node *node)
|
|
|
+static void hugetlb_register_node(struct node *node)
|
|
|
{
|
|
|
struct hstate *h;
|
|
|
struct node_hstate *nhs = &node_hstates[node->dev.id];
|