aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/executer/exregion.c
diff options
context:
space:
mode:
authorBob Moore <robert.moore@intel.com>2007-02-02 11:48:23 -0500
committerLen Brown <len.brown@intel.com>2007-02-02 21:14:30 -0500
commit59fa85057e12ff135df54266722b2064c418fc05 (patch)
tree697a677e71f9c9e23a13d62df720a3778de6c1d4 /drivers/acpi/executer/exregion.c
parentff40c8a3f258e9a54b0b94b92d5e2d9d88a39954 (diff)
ACPICA: Removed all 16-bit support.
Support for 16-bit ACPICA has been completely removed since it is no longer necessary and it clutters the code. All 16-bit macros, types, and conditional compiles have been removed, cleaning up and simplifying the code across the entire subsystem. DOS support is no longer needed since the Linux firmware kit is now available. Signed-off-by: Alexey Starikovskiy <alexey.y.starikovskiy@intel.com> Signed-off-by: Len Brown <len.brown@intel.com>
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 */