Skip to content

Commit 32d8e2b

Browse files
rddunlapgregkh
authored andcommitted
Fix build error when CONFIG_ACPI is not set/enabled:
[ Upstream commit ee87e15 ] ../arch/x86/pci/xen.c: In function ‘pci_xen_init’: ../arch/x86/pci/xen.c:410:2: error: implicit declaration of function ‘acpi_noirq_set’; did you mean ‘acpi_irq_get’? [-Werror=implicit-function-declaration] acpi_noirq_set(); Fixes: 88e9ca1 ("xen/pci: Use acpi_noirq_set() helper to avoid #ifdef") Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Reviewed-by: Juergen Gross <jgross@suse.com> Cc: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Cc: Bjorn Helgaas <bhelgaas@google.com> Cc: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> Cc: xen-devel@lists.xenproject.org Cc: linux-pci@vger.kernel.org Signed-off-by: Juergen Gross <jgross@suse.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
1 parent 1eb3a9e commit 32d8e2b

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

arch/x86/pci/xen.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
#include <asm/xen/pci.h>
2626
#include <asm/xen/cpuid.h>
2727
#include <asm/apic.h>
28+
#include <asm/acpi.h>
2829
#include <asm/i8259.h>
2930

3031
static int xen_pcifront_enable_irq(struct pci_dev *dev)

0 commit comments

Comments
 (0)