[ACPI] check acpi_disabled in IPMI

Signed-off-by: Yann Droneaud <ydroneaud@mandriva.com>
Signed-off-by: Len Brown <len.brown@intel.com>
This commit is contained in:
Yann Droneaud 2005-06-07 16:54:01 +02:00 committed by Len Brown
parent a18ecf413c
commit 4fbd151417

View File

@ -1484,6 +1484,9 @@ static int try_init_acpi(int intf_num, struct smi_info **new_info)
char *io_type;
u8 addr_space;
if (acpi_disabled)
return -ENODEV;
if (acpi_failure)
return -ENODEV;