diff options
author | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2020-08-18 16:24:28 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2020-09-24 12:57:38 +0200 |
commit | 4eb3723f18e9ba4d4b13d82b6f7e68dd50a852ea (patch) | |
tree | 12d49bb799ff98f60a397c31a4a9c8af413003bc /drivers/acpi/numa/hmat.c | |
parent | ACPI: Remove side effect of partly creating a node in acpi_map_pxm_to_online_... (diff) | |
download | linux-4eb3723f18e9ba4d4b13d82b6f7e68dd50a852ea.tar.xz linux-4eb3723f18e9ba4d4b13d82b6f7e68dd50a852ea.zip |
ACPI: Rename acpi_map_pxm_to_online_node() to pxm_to_online_node()
As this function is no longer allowed to create new mappings
let us rename it to reflect this.
Note all nodes should already exist before any of the users
of this function are called.
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Reviewed-by: Hanjun Guo <guohanjun@huawei.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/numa/hmat.c')
-rw-r--r-- | drivers/acpi/numa/hmat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/numa/hmat.c b/drivers/acpi/numa/hmat.c index cf6df2df26cd..e7add2609c03 100644 --- a/drivers/acpi/numa/hmat.c +++ b/drivers/acpi/numa/hmat.c @@ -664,7 +664,7 @@ static void hmat_register_target_device(struct memory_target *target, goto out_pdev; } - pdev->dev.numa_node = acpi_map_pxm_to_online_node(target->memory_pxm); + pdev->dev.numa_node = pxm_to_online_node(target->memory_pxm); info = (struct memregion_info) { .target_node = pxm_to_node(target->memory_pxm), }; |