From: Nuno Das Neves Date: Fri, 14 Mar 2025 19:28:51 +0000 (-0700) Subject: acpi: numa: Export node_to_pxm() X-Git-Tag: v6.15-rc1~193^2~7 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4ee23f3a4a46dc07dd6f82801001aa370faa8312;p=thirdparty%2Fkernel%2Flinux.git 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 Reviewed-by: Stanislav Kinsburskii Reviewed-by: Easwar Hariharan Reviewed-by: Michael Kelley Reviewed-by: Tianyu Lan Link: https://lore.kernel.org/r/1741980536-3865-6-git-send-email-nunodasneves@linux.microsoft.com Signed-off-by: Wei Liu Message-ID: <1741980536-3865-6-git-send-email-nunodasneves@linux.microsoft.com> --- diff --git a/drivers/acpi/numa/srat.c b/drivers/acpi/numa/srat.c index 00ac0d7bb8c9f..ce815d7cb8f65 100644 --- a/drivers/acpi/numa/srat.c +++ b/drivers/acpi/numa/srat.c @@ -51,6 +51,7 @@ int node_to_pxm(int node) return PXM_INVAL; return node_to_pxm_map[node]; } +EXPORT_SYMBOL_GPL(node_to_pxm); static void __acpi_map_pxm_to_node(int pxm, int node) {