patch-2.4.27 linux-2.4.27/drivers/acpi/bus.c

Next file: linux-2.4.27/drivers/acpi/button.c
Previous file: linux-2.4.27/drivers/acpi/battery.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.26/drivers/acpi/bus.c linux-2.4.27/drivers/acpi/bus.c
@@ -1964,8 +1964,10 @@
 	acpi_ec_init();		/* ACPI Embedded Controller */
 #endif
 #ifdef CONFIG_ACPI_PCI
-	acpi_pci_link_init();	/* ACPI PCI Interrupt Link */
-	acpi_pci_root_init();	/* ACPI PCI Root Bridge */
+	if (!acpi_pci_disabled) {
+		acpi_pci_link_init();	/* ACPI PCI Interrupt Link */
+		acpi_pci_root_init();	/* ACPI PCI Root Bridge */
+	}
 #endif
 	/*
 	 * Enumerate devices in the ACPI namespace.

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)