diff options
author | Toshi Kani <toshi.kani@hp.com> | 2012-05-23 22:25:24 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2012-06-04 01:09:23 -0400 |
commit | c2f4191a9c4dbbb5c8bc7f2c0eb5023b97dd2a49 (patch) | |
tree | a83ae5e7644ffc5865d851a42b52d41465cdf88d /drivers/acpi | |
parent | 0c67dc242cf73b9c99a05bfd0122fc9ba1970d37 (diff) |
ACPI: Set hotplug _OST support bit to _OSC
When ACPI_HOTPLUG_OST is defined, set hotplug _OST support bit
OSC_SB_HOTPLUG_OST_SUPPORT to indicate that the OS supports hotplug
_OST by calling the platform-wide ACPI Operating System Capabilities
(_OSC).
Signed-off-by: Toshi Kani <toshi.kani@hp.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi')
-rw-r--r-- | drivers/acpi/bus.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/acpi/bus.c b/drivers/acpi/bus.c index 3188da3df8da..3d4fc7af02f7 100644 --- a/drivers/acpi/bus.c +++ b/drivers/acpi/bus.c | |||
@@ -548,6 +548,10 @@ static void acpi_bus_osc_support(void) | |||
548 | capbuf[OSC_SUPPORT_TYPE] |= OSC_SB_PPC_OST_SUPPORT; | 548 | capbuf[OSC_SUPPORT_TYPE] |= OSC_SB_PPC_OST_SUPPORT; |
549 | #endif | 549 | #endif |
550 | 550 | ||
551 | #ifdef ACPI_HOTPLUG_OST | ||
552 | capbuf[OSC_SUPPORT_TYPE] |= OSC_SB_HOTPLUG_OST_SUPPORT; | ||
553 | #endif | ||
554 | |||
551 | if (!ghes_disable) | 555 | if (!ghes_disable) |
552 | capbuf[OSC_SUPPORT_TYPE] |= OSC_SB_APEI_SUPPORT; | 556 | capbuf[OSC_SUPPORT_TYPE] |= OSC_SB_APEI_SUPPORT; |
553 | if (ACPI_FAILURE(acpi_get_handle(NULL, "\\_SB", &handle))) | 557 | if (ACPI_FAILURE(acpi_get_handle(NULL, "\\_SB", &handle))) |