提交 4fbd1514 编写于 作者: Y Yann Droneaud 提交者: Len Brown

[ACPI] check acpi_disabled in IPMI

Signed-off-by: NYann Droneaud <ydroneaud@mandriva.com>
Signed-off-by: NLen Brown <len.brown@intel.com>
上级 a18ecf41
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册