diff options
author | Bob Moore <robert.moore@intel.com> | 2010-01-20 21:06:32 -0500 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2010-01-22 12:30:06 -0500 |
commit | 5df7e6cb42da36c7d878239bebc81907b15f3943 (patch) | |
tree | 44b6829f90f8a31d18e43c0211ee41f0217ac7b1 /drivers/acpi/acpica/exoparg2.c | |
parent | 091f4d718620a79698e1c8ca3e9acbf78eb62da3 (diff) |
ACPICA: Remove obsolete ACPI_INTEGER (acpi_integer) type
This type was introduced as the code was migrated from ACPI 1.0
(with 32-bit AML integers) to ACPI 2.0 (with 64-bit integers). It
is now obsolete and this change removes it from the ACPICA code
base, replaced by u64. The original typedef has been retained
for now for compatibility with existing device driver code.
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Lin Ming <ming.m.lin@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/acpica/exoparg2.c')
-rw-r--r-- | drivers/acpi/acpica/exoparg2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/acpi/acpica/exoparg2.c b/drivers/acpi/acpica/exoparg2.c index ea115021ee7d..22841bbbe63c 100644 --- a/drivers/acpi/acpica/exoparg2.c +++ b/drivers/acpi/acpica/exoparg2.c | |||
@@ -282,7 +282,7 @@ acpi_status acpi_ex_opcode_2A_1T_1R(struct acpi_walk_state *walk_state) | |||
282 | { | 282 | { |
283 | union acpi_operand_object **operand = &walk_state->operands[0]; | 283 | union acpi_operand_object **operand = &walk_state->operands[0]; |
284 | union acpi_operand_object *return_desc = NULL; | 284 | union acpi_operand_object *return_desc = NULL; |
285 | acpi_integer index; | 285 | u64 index; |
286 | acpi_status status = AE_OK; | 286 | acpi_status status = AE_OK; |
287 | acpi_size length; | 287 | acpi_size length; |
288 | 288 | ||
@@ -584,7 +584,7 @@ acpi_status acpi_ex_opcode_2A_0T_1R(struct acpi_walk_state *walk_state) | |||
584 | * Default is FALSE (zero) | 584 | * Default is FALSE (zero) |
585 | */ | 585 | */ |
586 | if (logical_result) { | 586 | if (logical_result) { |
587 | return_desc->integer.value = ACPI_INTEGER_MAX; | 587 | return_desc->integer.value = ACPI_UINT64_MAX; |
588 | } | 588 | } |
589 | 589 | ||
590 | cleanup: | 590 | cleanup: |