Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 231531
b: refs/heads/master
c: d3072e6
h: refs/heads/master
i:
  231529: af733ce
  231527: 02580d1
v: v3
  • Loading branch information
Rafael J. Wysocki authored and Linus Torvalds committed Jan 16, 2011
1 parent 50f8d5d commit 454cd23
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 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: fc8fe1e992ae0326a88edbe4d6793e840bbdd4ff
refs/heads/master: d3072e6a7e9bf7aca200370317f8e297be360b17
6 changes: 3 additions & 3 deletions trunk/drivers/acpi/apei/hest.c
Original file line number Diff line number Diff line change
Expand Up @@ -201,14 +201,14 @@ void __init acpi_hest_init(void)
int rc = -ENODEV;
unsigned int ghes_count = 0;

if (acpi_disabled)
return;

if (hest_disable) {
pr_info(HEST_PFX "Table parsing disabled.\n");
return;
}

if (acpi_disabled)
goto err;

status = acpi_get_table(ACPI_SIG_HEST, 0,
(struct acpi_table_header **)&hest_tab);
if (status == AE_NOT_FOUND) {
Expand Down
4 changes: 2 additions & 2 deletions trunk/drivers/acpi/pci_root.c
Original file line number Diff line number Diff line change
Expand Up @@ -633,11 +633,11 @@ static int acpi_pci_root_remove(struct acpi_device *device, int type)

static int __init acpi_pci_root_init(void)
{
acpi_hest_init();

if (acpi_pci_disabled)
return 0;

acpi_hest_init();

pci_acpi_crs_quirks();
if (acpi_bus_register_driver(&acpi_pci_root_driver) < 0)
return -ENODEV;
Expand Down

0 comments on commit 454cd23

Please sign in to comment.