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 /include/acpi/acutils.h | |
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 'include/acpi/acutils.h')
-rw-r--r-- | include/acpi/acutils.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/acpi/acutils.h b/include/acpi/acutils.h index b42cadf07302..3f663a0077be 100644 --- a/include/acpi/acutils.h +++ b/include/acpi/acutils.h | |||
@@ -172,7 +172,7 @@ char *acpi_ut_strstr(char *string1, char *string2); | |||
172 | 172 | ||
173 | void *acpi_ut_memcpy(void *dest, const void *src, acpi_size count); | 173 | void *acpi_ut_memcpy(void *dest, const void *src, acpi_size count); |
174 | 174 | ||
175 | void *acpi_ut_memset(void *dest, acpi_native_uint value, acpi_size count); | 175 | void *acpi_ut_memset(void *dest, u8 value, acpi_size count); |
176 | 176 | ||
177 | int acpi_ut_to_upper(int c); | 177 | int acpi_ut_to_upper(int c); |
178 | 178 | ||
@@ -476,7 +476,7 @@ u8 acpi_ut_valid_acpi_name(u32 name); | |||
476 | 476 | ||
477 | acpi_name acpi_ut_repair_name(char *name); | 477 | acpi_name acpi_ut_repair_name(char *name); |
478 | 478 | ||
479 | u8 acpi_ut_valid_acpi_char(char character, acpi_native_uint position); | 479 | u8 acpi_ut_valid_acpi_char(char character, u32 position); |
480 | 480 | ||
481 | acpi_status | 481 | acpi_status |
482 | acpi_ut_strtoul64(char *string, u32 base, acpi_integer * ret_integer); | 482 | acpi_ut_strtoul64(char *string, u32 base, acpi_integer * ret_integer); |