Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 86086
b: refs/heads/master
c: 6e4be1f
h: refs/heads/master
v: v3
  • Loading branch information
Yinghai Lu authored and Greg Kroah-Hartman committed Feb 21, 2008
1 parent b417eab commit c9de186
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 9dc625e72309e1c919ea3e7f51d0ffca96123787
refs/heads/master: 6e4be1ff2e767fc3a34c5e8d67c3cba107c02099
3 changes: 2 additions & 1 deletion trunk/arch/x86/kernel/acpi/boot.c
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,8 @@ static inline int acpi_madt_oem_check(char *oem_id, char *oem_table_id) { return
#define PREFIX "ACPI: "

int acpi_noirq; /* skip ACPI IRQ initialization */
int acpi_pci_disabled __initdata; /* skip ACPI PCI scan and IRQ initialization */
int acpi_pci_disabled; /* skip ACPI PCI scan and IRQ initialization */
EXPORT_SYMBOL(acpi_pci_disabled);
int acpi_ht __initdata = 1; /* enable HT */

int acpi_lapic;
Expand Down
6 changes: 6 additions & 0 deletions trunk/drivers/pci/hotplug/acpiphp_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -392,6 +392,9 @@ static int __init acpiphp_init(void)
{
info(DRIVER_DESC " version: " DRIVER_VERSION "\n");

if (acpi_pci_disabled)
return 0;

acpiphp_debug = debug;

/* read all the ACPI info from the system */
Expand All @@ -401,6 +404,9 @@ static int __init acpiphp_init(void)

static void __exit acpiphp_exit(void)
{
if (acpi_pci_disabled)
return;

/* deallocate internal data structures etc. */
acpiphp_glue_exit();
}
Expand Down

0 comments on commit c9de186

Please sign in to comment.