|
@@ -651,7 +651,7 @@ int __init acpi_boot_init(void)
|
|
* information -- the successor to MPS tables.
|
|
* information -- the successor to MPS tables.
|
|
*/
|
|
*/
|
|
|
|
|
|
- if (acpi_table_parse(ACPI_SIG_MADT, acpi_parse_madt) < 1) {
|
|
|
|
|
|
+ if (acpi_table_parse(ACPI_SIG_MADT, acpi_parse_madt)) {
|
|
printk(KERN_ERR PREFIX "Can't find MADT\n");
|
|
printk(KERN_ERR PREFIX "Can't find MADT\n");
|
|
goto skip_madt;
|
|
goto skip_madt;
|
|
}
|
|
}
|
|
@@ -702,7 +702,7 @@ int __init acpi_boot_init(void)
|
|
* gets interrupts such as power and sleep buttons. If it's not
|
|
* gets interrupts such as power and sleep buttons. If it's not
|
|
* on a Legacy interrupt, it needs to be setup.
|
|
* on a Legacy interrupt, it needs to be setup.
|
|
*/
|
|
*/
|
|
- if (acpi_table_parse(ACPI_SIG_FADT, acpi_parse_fadt) < 1)
|
|
|
|
|
|
+ if (acpi_table_parse(ACPI_SIG_FADT, acpi_parse_fadt))
|
|
printk(KERN_ERR PREFIX "Can't find FADT\n");
|
|
printk(KERN_ERR PREFIX "Can't find FADT\n");
|
|
|
|
|
|
#ifdef CONFIG_SMP
|
|
#ifdef CONFIG_SMP
|