diff options
Diffstat (limited to 'drivers/acpi/acpica/acutils.h')
-rw-r--r-- | drivers/acpi/acpica/acutils.h | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/drivers/acpi/acpica/acutils.h b/drivers/acpi/acpica/acutils.h index 83b75e9db7ef..b6b29d717824 100644 --- a/drivers/acpi/acpica/acutils.h +++ b/drivers/acpi/acpica/acutils.h | |||
@@ -118,9 +118,6 @@ extern const char *acpi_gbl_ptyp_decode[]; | |||
118 | #ifndef ACPI_MSG_ERROR | 118 | #ifndef ACPI_MSG_ERROR |
119 | #define ACPI_MSG_ERROR "ACPI Error: " | 119 | #define ACPI_MSG_ERROR "ACPI Error: " |
120 | #endif | 120 | #endif |
121 | #ifndef ACPI_MSG_EXCEPTION | ||
122 | #define ACPI_MSG_EXCEPTION "ACPI Exception: " | ||
123 | #endif | ||
124 | #ifndef ACPI_MSG_WARNING | 121 | #ifndef ACPI_MSG_WARNING |
125 | #define ACPI_MSG_WARNING "ACPI Warning: " | 122 | #define ACPI_MSG_WARNING "ACPI Warning: " |
126 | #endif | 123 | #endif |
@@ -129,10 +126,10 @@ extern const char *acpi_gbl_ptyp_decode[]; | |||
129 | #endif | 126 | #endif |
130 | 127 | ||
131 | #ifndef ACPI_MSG_BIOS_ERROR | 128 | #ifndef ACPI_MSG_BIOS_ERROR |
132 | #define ACPI_MSG_BIOS_ERROR "ACPI BIOS Error (bug): " | 129 | #define ACPI_MSG_BIOS_ERROR "Firmware Error (ACPI): " |
133 | #endif | 130 | #endif |
134 | #ifndef ACPI_MSG_BIOS_WARNING | 131 | #ifndef ACPI_MSG_BIOS_WARNING |
135 | #define ACPI_MSG_BIOS_WARNING "ACPI BIOS Warning (bug): " | 132 | #define ACPI_MSG_BIOS_WARNING "Firmware Warning (ACPI): " |
136 | #endif | 133 | #endif |
137 | 134 | ||
138 | /* | 135 | /* |
@@ -233,10 +230,10 @@ u64 acpi_ut_implicit_strtoul64(char *string); | |||
233 | */ | 230 | */ |
234 | acpi_status acpi_ut_init_globals(void); | 231 | acpi_status acpi_ut_init_globals(void); |
235 | 232 | ||
236 | #if defined(ACPI_DEBUG_OUTPUT) || defined(ACPI_DEBUGGER) | ||
237 | |||
238 | const char *acpi_ut_get_mutex_name(u32 mutex_id); | 233 | const char *acpi_ut_get_mutex_name(u32 mutex_id); |
239 | 234 | ||
235 | #if defined(ACPI_DEBUG_OUTPUT) || defined(ACPI_DEBUGGER) | ||
236 | |||
240 | const char *acpi_ut_get_notify_name(u32 notify_value, acpi_object_type type); | 237 | const char *acpi_ut_get_notify_name(u32 notify_value, acpi_object_type type); |
241 | #endif | 238 | #endif |
242 | 239 | ||
@@ -641,9 +638,11 @@ void ut_convert_backslashes(char *pathname); | |||
641 | 638 | ||
642 | void acpi_ut_repair_name(char *name); | 639 | void acpi_ut_repair_name(char *name); |
643 | 640 | ||
644 | #if defined (ACPI_DEBUGGER) || defined (ACPI_APPLICATION) | 641 | #if defined (ACPI_DEBUGGER) || defined (ACPI_APPLICATION) || defined (ACPI_DEBUG_OUTPUT) |
645 | u8 acpi_ut_safe_strcpy(char *dest, acpi_size dest_size, char *source); | 642 | u8 acpi_ut_safe_strcpy(char *dest, acpi_size dest_size, char *source); |
646 | 643 | ||
644 | void acpi_ut_safe_strncpy(char *dest, char *source, acpi_size dest_size); | ||
645 | |||
647 | u8 acpi_ut_safe_strcat(char *dest, acpi_size dest_size, char *source); | 646 | u8 acpi_ut_safe_strcat(char *dest, acpi_size dest_size, char *source); |
648 | 647 | ||
649 | u8 | 648 | u8 |
@@ -737,9 +736,11 @@ acpi_ut_predefined_bios_error(const char *module_name, | |||
737 | u8 node_flags, const char *format, ...); | 736 | u8 node_flags, const char *format, ...); |
738 | 737 | ||
739 | void | 738 | void |
740 | acpi_ut_namespace_error(const char *module_name, | 739 | acpi_ut_prefixed_namespace_error(const char *module_name, |
741 | u32 line_number, | 740 | u32 line_number, |
742 | const char *internal_name, acpi_status lookup_status); | 741 | union acpi_generic_state *prefix_scope, |
742 | const char *internal_name, | ||
743 | acpi_status lookup_status); | ||
743 | 744 | ||
744 | void | 745 | void |
745 | acpi_ut_method_error(const char *module_name, | 746 | acpi_ut_method_error(const char *module_name, |