diff options
Diffstat (limited to 'drivers/acpi/acpica/acutils.h')
-rw-r--r-- | drivers/acpi/acpica/acutils.h | 22 |
1 files changed, 9 insertions, 13 deletions
diff --git a/drivers/acpi/acpica/acutils.h b/drivers/acpi/acpica/acutils.h index 3a451a21a3f9..35df755251ce 100644 --- a/drivers/acpi/acpica/acutils.h +++ b/drivers/acpi/acpica/acutils.h | |||
@@ -5,7 +5,7 @@ | |||
5 | *****************************************************************************/ | 5 | *****************************************************************************/ |
6 | 6 | ||
7 | /* | 7 | /* |
8 | * Copyright (C) 2000 - 2008, Intel Corp. | 8 | * Copyright (C) 2000 - 2010, Intel Corp. |
9 | * All rights reserved. | 9 | * All rights reserved. |
10 | * | 10 | * |
11 | * Redistribution and use in source and binary forms, with or without | 11 | * Redistribution and use in source and binary forms, with or without |
@@ -134,7 +134,7 @@ char *acpi_ut_get_region_name(u8 space_id); | |||
134 | 134 | ||
135 | char *acpi_ut_get_event_name(u32 event_id); | 135 | char *acpi_ut_get_event_name(u32 event_id); |
136 | 136 | ||
137 | char acpi_ut_hex_to_ascii_char(acpi_integer integer, u32 position); | 137 | char acpi_ut_hex_to_ascii_char(u64 integer, u32 position); |
138 | 138 | ||
139 | u8 acpi_ut_valid_object_type(acpi_object_type type); | 139 | u8 acpi_ut_valid_object_type(acpi_object_type type); |
140 | 140 | ||
@@ -279,8 +279,7 @@ acpi_ut_status_exit(u32 line_number, | |||
279 | void | 279 | void |
280 | acpi_ut_value_exit(u32 line_number, | 280 | acpi_ut_value_exit(u32 line_number, |
281 | const char *function_name, | 281 | const char *function_name, |
282 | const char *module_name, | 282 | const char *module_name, u32 component_id, u64 value); |
283 | u32 component_id, acpi_integer value); | ||
284 | 283 | ||
285 | void | 284 | void |
286 | acpi_ut_ptr_exit(u32 line_number, | 285 | acpi_ut_ptr_exit(u32 line_number, |
@@ -324,7 +323,7 @@ acpi_ut_evaluate_object(struct acpi_namespace_node *prefix_node, | |||
324 | acpi_status | 323 | acpi_status |
325 | acpi_ut_evaluate_numeric_object(char *object_name, | 324 | acpi_ut_evaluate_numeric_object(char *object_name, |
326 | struct acpi_namespace_node *device_node, | 325 | struct acpi_namespace_node *device_node, |
327 | acpi_integer *value); | 326 | u64 *value); |
328 | 327 | ||
329 | acpi_status | 328 | acpi_status |
330 | acpi_ut_execute_STA(struct acpi_namespace_node *device_node, u32 *status_flags); | 329 | acpi_ut_execute_STA(struct acpi_namespace_node *device_node, u32 *status_flags); |
@@ -437,14 +436,12 @@ void acpi_ut_delete_generic_state(union acpi_generic_state *state); | |||
437 | * utmath | 436 | * utmath |
438 | */ | 437 | */ |
439 | acpi_status | 438 | acpi_status |
440 | acpi_ut_divide(acpi_integer in_dividend, | 439 | acpi_ut_divide(u64 in_dividend, |
441 | acpi_integer in_divisor, | 440 | u64 in_divisor, u64 *out_quotient, u64 *out_remainder); |
442 | acpi_integer * out_quotient, acpi_integer * out_remainder); | ||
443 | 441 | ||
444 | acpi_status | 442 | acpi_status |
445 | acpi_ut_short_divide(acpi_integer in_dividend, | 443 | acpi_ut_short_divide(u64 in_dividend, |
446 | u32 divisor, | 444 | u32 divisor, u64 *out_quotient, u32 *out_remainder); |
447 | acpi_integer * out_quotient, u32 * out_remainder); | ||
448 | 445 | ||
449 | /* | 446 | /* |
450 | * utmisc | 447 | * utmisc |
@@ -474,8 +471,7 @@ acpi_name acpi_ut_repair_name(char *name); | |||
474 | 471 | ||
475 | u8 acpi_ut_valid_acpi_char(char character, u32 position); | 472 | u8 acpi_ut_valid_acpi_char(char character, u32 position); |
476 | 473 | ||
477 | acpi_status | 474 | acpi_status acpi_ut_strtoul64(char *string, u32 base, u64 * ret_integer); |
478 | acpi_ut_strtoul64(char *string, u32 base, acpi_integer * ret_integer); | ||
479 | 475 | ||
480 | void ACPI_INTERNAL_VAR_XFACE | 476 | void ACPI_INTERNAL_VAR_XFACE |
481 | acpi_ut_predefined_warning(const char *module_name, | 477 | acpi_ut_predefined_warning(const char *module_name, |