Skip to content

Commit

Permalink
[ACPI] check acpi_disabled in IPMI
Browse files Browse the repository at this point in the history
Signed-off-by: Yann Droneaud <ydroneaud@mandriva.com>
Signed-off-by: Len Brown <len.brown@intel.com>
  • Loading branch information
Yann Droneaud authored and Len Brown committed Aug 31, 2005
1 parent a18ecf4 commit 4fbd151
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions drivers/char/ipmi/ipmi_si_intf.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 4fbd151

Please sign in to comment.