aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/executer/exregion.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/acpi/executer/exregion.c')
-rw-r--r--drivers/acpi/executer/exregion.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/acpi/executer/exregion.c b/drivers/acpi/executer/exregion.c
index 496744774859..c6819e015e2a 100644
--- a/drivers/acpi/executer/exregion.c
+++ b/drivers/acpi/executer/exregion.c
@@ -209,11 +209,10 @@ acpi_ex_system_memory_space_handler(u32 function,
209 *value = (acpi_integer) ACPI_GET32(logical_addr_ptr); 209 *value = (acpi_integer) ACPI_GET32(logical_addr_ptr);
210 break; 210 break;
211 211
212#if ACPI_MACHINE_WIDTH != 16
213 case 64: 212 case 64:
214 *value = (acpi_integer) ACPI_GET64(logical_addr_ptr); 213 *value = (acpi_integer) ACPI_GET64(logical_addr_ptr);
215 break; 214 break;
216#endif 215
217 default: 216 default:
218 /* bit_width was already validated */ 217 /* bit_width was already validated */
219 break; 218 break;
@@ -235,11 +234,9 @@ acpi_ex_system_memory_space_handler(u32 function,
235 ACPI_SET32(logical_addr_ptr) = (u32) * value; 234 ACPI_SET32(logical_addr_ptr) = (u32) * value;
236 break; 235 break;
237 236
238#if ACPI_MACHINE_WIDTH != 16
239 case 64: 237 case 64:
240 ACPI_SET64(logical_addr_ptr) = (u64) * value; 238 ACPI_SET64(logical_addr_ptr) = (u64) * value;
241 break; 239 break;
242#endif
243 240
244 default: 241 default:
245 /* bit_width was already validated */ 242 /* bit_width was already validated */