|
@@ -140,15 +140,11 @@ static int acpi_processor_errata_piix4(struct pci_dev *dev)
|
|
|
return 0;
|
|
|
}
|
|
|
|
|
|
-static int acpi_processor_errata(struct acpi_processor *pr)
|
|
|
+static int acpi_processor_errata(void)
|
|
|
{
|
|
|
int result = 0;
|
|
|
struct pci_dev *dev = NULL;
|
|
|
|
|
|
-
|
|
|
- if (!pr)
|
|
|
- return -EINVAL;
|
|
|
-
|
|
|
/*
|
|
|
* PIIX4
|
|
|
*/
|
|
@@ -220,7 +216,7 @@ static int acpi_processor_get_info(struct acpi_device *device)
|
|
|
acpi_status status = AE_OK;
|
|
|
static int cpu0_initialized;
|
|
|
|
|
|
- acpi_processor_errata(pr);
|
|
|
+ acpi_processor_errata();
|
|
|
|
|
|
/*
|
|
|
* Check to see if we have bus mastering arbitration control. This
|