diff options
author | Yann Droneaud <ydroneaud@mandriva.com> | 2005-06-07 16:54:01 +0200 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2005-08-31 16:36:24 -0400 |
commit | 4fbd1514173a80f9dc93e8ebbd6d4eb97cee123e (patch) | |
tree | a1bee534fe254106cec916642ae90ebf15cec201 | |
parent | a18ecf413ca9846becb760f7f990c2c62c15965e (diff) | |
download | blackbird-op-linux-4fbd1514173a80f9dc93e8ebbd6d4eb97cee123e.tar.gz blackbird-op-linux-4fbd1514173a80f9dc93e8ebbd6d4eb97cee123e.zip |
[ACPI] check acpi_disabled in IPMI
Signed-off-by: Yann Droneaud <ydroneaud@mandriva.com>
Signed-off-by: Len Brown <len.brown@intel.com>
-rw-r--r-- | drivers/char/ipmi/ipmi_si_intf.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/char/ipmi/ipmi_si_intf.c b/drivers/char/ipmi/ipmi_si_intf.c index c51b02d9dfd0..adbec73b80a6 100644 --- a/drivers/char/ipmi/ipmi_si_intf.c +++ b/drivers/char/ipmi/ipmi_si_intf.c @@ -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; |