diff options
Diffstat (limited to 'drivers/acpi/acpica/hwacpi.c')
-rw-r--r-- | drivers/acpi/acpica/hwacpi.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/drivers/acpi/acpica/hwacpi.c b/drivers/acpi/acpica/hwacpi.c index deb3f61e2bd1..9b02a9f5b04a 100644 --- a/drivers/acpi/acpica/hwacpi.c +++ b/drivers/acpi/acpica/hwacpi.c | |||
@@ -66,6 +66,12 @@ acpi_status acpi_hw_set_mode(u32 mode) | |||
66 | 66 | ||
67 | ACPI_FUNCTION_TRACE(hw_set_mode); | 67 | ACPI_FUNCTION_TRACE(hw_set_mode); |
68 | 68 | ||
69 | /* If the Hardware Reduced flag is set, machine is always in acpi mode */ | ||
70 | |||
71 | if (acpi_gbl_reduced_hardware) { | ||
72 | return_ACPI_STATUS(AE_OK); | ||
73 | } | ||
74 | |||
69 | /* | 75 | /* |
70 | * ACPI 2.0 clarified that if SMI_CMD in FADT is zero, | 76 | * ACPI 2.0 clarified that if SMI_CMD in FADT is zero, |
71 | * system does not support mode transition. | 77 | * system does not support mode transition. |
@@ -146,6 +152,12 @@ u32 acpi_hw_get_mode(void) | |||
146 | 152 | ||
147 | ACPI_FUNCTION_TRACE(hw_get_mode); | 153 | ACPI_FUNCTION_TRACE(hw_get_mode); |
148 | 154 | ||
155 | /* If the Hardware Reduced flag is set, machine is always in acpi mode */ | ||
156 | |||
157 | if (acpi_gbl_reduced_hardware) { | ||
158 | return_VALUE(ACPI_SYS_MODE_ACPI); | ||
159 | } | ||
160 | |||
149 | /* | 161 | /* |
150 | * ACPI 2.0 clarified that if SMI_CMD in FADT is zero, | 162 | * ACPI 2.0 clarified that if SMI_CMD in FADT is zero, |
151 | * system does not support mode transition. | 163 | * system does not support mode transition. |