Skip to content

Commit 4ee23f3

Browse files
NunoDasNevesliuw
authored andcommitted
acpi: numa: Export node_to_pxm()
node_to_pxm() is used by hv_numa_node_to_pxm_info(). That helper will be used by Hyper-V root partition module code when CONFIG_MSHV_ROOT=m. Signed-off-by: Nuno Das Neves <nunodasneves@linux.microsoft.com> Reviewed-by: Stanislav Kinsburskii <skinsburskii@linux.microsoft.com> Reviewed-by: Easwar Hariharan <eahariha@linux.microsoft.com> Reviewed-by: Michael Kelley <mhklinux@outlook.com> Reviewed-by: Tianyu Lan <tiala@microsoft.com> Link: https://lore.kernel.org/r/1741980536-3865-6-git-send-email-nunodasneves@linux.microsoft.com Signed-off-by: Wei Liu <wei.liu@kernel.org> Message-ID: <1741980536-3865-6-git-send-email-nunodasneves@linux.microsoft.com>
1 parent af37bc7 commit 4ee23f3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/acpi/numa/srat.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ int node_to_pxm(int node)
5151
return PXM_INVAL;
5252
return node_to_pxm_map[node];
5353
}
54+
EXPORT_SYMBOL_GPL(node_to_pxm);
5455

5556
static void __acpi_map_pxm_to_node(int pxm, int node)
5657
{

0 commit comments

Comments
 (0)