summaryrefslogtreecommitdiff
path: root/include/acpi/acpi_numa.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/acpi/acpi_numa.h')
-rw-r--r--include/acpi/acpi_numa.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/acpi/acpi_numa.h b/include/acpi/acpi_numa.h
index 0e9302285f14..a4c6ef809e27 100644
--- a/include/acpi/acpi_numa.h
+++ b/include/acpi/acpi_numa.h
@@ -26,6 +26,10 @@ extern int srat_disabled(void);
static inline void disable_srat(void)
{
}
+static inline int pxm_to_node(int pxm)
+{
+ return 0;
+}
#endif /* CONFIG_ACPI_NUMA */
#ifdef CONFIG_ACPI_HMAT