diff options
author | Bob Moore <robert.moore@intel.com> | 2007-02-02 11:48:23 -0500 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2007-02-02 21:14:30 -0500 |
commit | 59fa85057e12ff135df54266722b2064c418fc05 (patch) | |
tree | 697a677e71f9c9e23a13d62df720a3778de6c1d4 /drivers/acpi/executer | |
parent | ff40c8a3f258e9a54b0b94b92d5e2d9d88a39954 (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')
-rw-r--r-- | drivers/acpi/executer/exoparg1.c | 2 | ||||
-rw-r--r-- | drivers/acpi/executer/exregion.c | 5 |
2 files changed, 1 insertions, 6 deletions
diff --git a/drivers/acpi/executer/exoparg1.c b/drivers/acpi/executer/exoparg1.c index 6374d8be88e0..6f2e69ca014a 100644 --- a/drivers/acpi/executer/exoparg1.c +++ b/drivers/acpi/executer/exoparg1.c | |||
@@ -104,9 +104,7 @@ acpi_status acpi_ex_opcode_0A_0T_1R(struct acpi_walk_state *walk_state) | |||
104 | status = AE_NO_MEMORY; | 104 | status = AE_NO_MEMORY; |
105 | goto cleanup; | 105 | goto cleanup; |
106 | } | 106 | } |
107 | #if ACPI_MACHINE_WIDTH != 16 | ||
108 | return_desc->integer.value = acpi_os_get_timer(); | 107 | return_desc->integer.value = acpi_os_get_timer(); |
109 | #endif | ||
110 | break; | 108 | break; |
111 | 109 | ||
112 | default: /* Unknown opcode */ | 110 | default: /* Unknown opcode */ |
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 */ |