Browse Source

x86: move pci_routirq declaration to pci.h

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Thomas Gleixner 17 năm trước cách đây
mục cha
commit
0715650958
2 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 0 1
      arch/x86/pci/acpi.c
  2. 2 0
      include/asm-x86/pci.h

+ 0 - 1
arch/x86/pci/acpi.c

@@ -218,7 +218,6 @@ struct pci_bus * __devinit pci_acpi_scan_root(struct acpi_device *device, int do
 	return bus;
 }
 
-extern int pci_routeirq;
 static int __init pci_acpi_init(void)
 {
 	struct pci_dev *dev = NULL;

+ 2 - 0
include/asm-x86/pci.h

@@ -18,6 +18,8 @@ struct pci_sysdata {
 #endif
 };
 
+extern int pci_routeirq;
+
 /* scan a bus after allocating a pci_sysdata for it */
 extern struct pci_bus *pci_scan_bus_on_node(int busno, struct pci_ops *ops,
 					    int node);