diff options
author | Bob Moore <robert.moore@intel.com> | 2008-06-10 01:42:13 -0400 |
---|---|---|
committer | Andi Kleen <andi@basil.nowhere.org> | 2008-07-16 17:27:03 -0400 |
commit | 67a119f990063f5662574f6d6414fe9bc5ece86a (patch) | |
tree | 96be8ffbbe56a0a2a85dba14b8c81f153ac218f2 /drivers/acpi/tables/tbfadt.c | |
parent | 11f2a61ab418305167f9a3f3a31a50449222f64b (diff) |
ACPICA: Eliminate acpi_native_uint type v2
No longer needed; replaced mostly with u32, but also acpi_size
where a type that changes 32/64 bit on 32/64-bit platforms is
required.
v2: Fix a cast of a 32-bit int to a pointer in ACPI to avoid a compiler warning.
from David Howells
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>
Signed-off-by: Andi Kleen <ak@linux.intel.com>
Diffstat (limited to 'drivers/acpi/tables/tbfadt.c')
-rw-r--r-- | drivers/acpi/tables/tbfadt.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/acpi/tables/tbfadt.c b/drivers/acpi/tables/tbfadt.c index 949d4114eb9f..a4a41ba2484b 100644 --- a/drivers/acpi/tables/tbfadt.c +++ b/drivers/acpi/tables/tbfadt.c | |||
@@ -155,7 +155,7 @@ acpi_tb_init_generic_address(struct acpi_generic_address *generic_address, | |||
155 | * | 155 | * |
156 | ******************************************************************************/ | 156 | ******************************************************************************/ |
157 | 157 | ||
158 | void acpi_tb_parse_fadt(acpi_native_uint table_index, u8 flags) | 158 | void acpi_tb_parse_fadt(u32 table_index, u8 flags) |
159 | { | 159 | { |
160 | u32 length; | 160 | u32 length; |
161 | struct acpi_table_header *table; | 161 | struct acpi_table_header *table; |
@@ -280,7 +280,7 @@ static void acpi_tb_convert_fadt(void) | |||
280 | { | 280 | { |
281 | u8 pm1_register_length; | 281 | u8 pm1_register_length; |
282 | struct acpi_generic_address *target; | 282 | struct acpi_generic_address *target; |
283 | acpi_native_uint i; | 283 | u32 i; |
284 | 284 | ||
285 | /* Update the local FADT table header length */ | 285 | /* Update the local FADT table header length */ |
286 | 286 | ||
@@ -396,7 +396,7 @@ static void acpi_tb_validate_fadt(void) | |||
396 | u32 *address32; | 396 | u32 *address32; |
397 | struct acpi_generic_address *address64; | 397 | struct acpi_generic_address *address64; |
398 | u8 length; | 398 | u8 length; |
399 | acpi_native_uint i; | 399 | u32 i; |
400 | 400 | ||
401 | /* Examine all of the 64-bit extended address fields (X fields) */ | 401 | /* Examine all of the 64-bit extended address fields (X fields) */ |
402 | 402 | ||