mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
ACPICA: Cleanup debug operand dump mechanism
Eliminated unnecessary operands; eliminated use of negative index in loop. Operands now displayed in correct order, not backwards. Signed-off-by: Bob Moore <[email protected]> Signed-off-by: Lin Ming <[email protected]> Signed-off-by: Len Brown <[email protected]> Signed-off-by: Andi Kleen <[email protected]>
This commit is contained in:
parent
5a1a57efeb
commit
71d993e115
8 changed files with 37 additions and 83 deletions
|
|
@ -366,11 +366,7 @@ void acpi_ex_dump_operand(union acpi_operand_object *obj_desc, u32 depth);
|
|||
|
||||
void
|
||||
acpi_ex_dump_operands(union acpi_operand_object **operands,
|
||||
acpi_interpreter_mode interpreter_mode,
|
||||
const char *ident,
|
||||
u32 num_levels,
|
||||
const char *note,
|
||||
const char *module_name, u32 line_number);
|
||||
const char *opcode_name, u32 num_opcodes);
|
||||
|
||||
#ifdef ACPI_FUTURE_USAGE
|
||||
void
|
||||
|
|
|
|||
|
|
@ -597,7 +597,7 @@ struct acpi_integer_overlay {
|
|||
/* Stack and buffer dumping */
|
||||
|
||||
#define ACPI_DUMP_STACK_ENTRY(a) acpi_ex_dump_operand((a),0)
|
||||
#define ACPI_DUMP_OPERANDS(a,b,c,d,e) acpi_ex_dump_operands(a,b,c,d,e,_acpi_module_name,__LINE__)
|
||||
#define ACPI_DUMP_OPERANDS(a,b,c) acpi_ex_dump_operands(a,b,c)
|
||||
|
||||
#define ACPI_DUMP_ENTRY(a,b) acpi_ns_dump_entry (a,b)
|
||||
#define ACPI_DUMP_PATHNAME(a,b,c,d) acpi_ns_dump_pathname(a,b,c,d)
|
||||
|
|
@ -633,7 +633,7 @@ struct acpi_integer_overlay {
|
|||
#define ACPI_FUNCTION_VALUE_EXIT(s) do { } while(0)
|
||||
#define ACPI_FUNCTION_ENTRY() do { } while(0)
|
||||
#define ACPI_DUMP_STACK_ENTRY(a) do { } while(0)
|
||||
#define ACPI_DUMP_OPERANDS(a,b,c,d,e) do { } while(0)
|
||||
#define ACPI_DUMP_OPERANDS(a,b,c) do { } while(0)
|
||||
#define ACPI_DUMP_ENTRY(a,b) do { } while(0)
|
||||
#define ACPI_DUMP_TABLES(a,b) do { } while(0)
|
||||
#define ACPI_DUMP_PATHNAME(a,b,c,d) do { } while(0)
|
||||
|
|
|
|||
Loading…
Reference in a new issue