Alexander Beregalov reported: drivers/pci/dmar.c: In function 'dmar_parse_one_rhsa': drivers/pci/dmar.c:360: error: implicit declaration of function 'acpi_map_pxm_to_node' Reported-by: Alexander Beregalov Signed-off-by: Suresh Siddha --- include/acpi/acpi_numa.h | 7 +++++++ 1 file changed, 7 insertions(+) Index: iommu-2.6/include/acpi/acpi_numa.h =================================================================== --- iommu-2.6.orig/include/acpi/acpi_numa.h +++ iommu-2.6/include/acpi/acpi_numa.h @@ -16,5 +16,12 @@ extern int node_to_pxm(int); extern void __acpi_map_pxm_to_node(int, int); extern int acpi_map_pxm_to_node(int); +#else /* !CONFIG_ACPI_NUMA */ + +static inline int acpi_map_pxm_to_node(int pxm) +{ + return -1; +} + #endif /* CONFIG_ACPI_NUMA */ #endif /* __ACP_NUMA_H */ -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/