aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/executer/exdump.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/acpi/executer/exdump.c')
-rw-r--r--drivers/acpi/executer/exdump.c27
1 files changed, 19 insertions, 8 deletions
diff --git a/drivers/acpi/executer/exdump.c b/drivers/acpi/executer/exdump.c
index 251d84ba79b3..ed560e656f9a 100644
--- a/drivers/acpi/executer/exdump.c
+++ b/drivers/acpi/executer/exdump.c
@@ -895,14 +895,25 @@ static void acpi_ex_dump_reference_obj(union acpi_operand_object *obj_desc)
895 } else if (obj_desc->reference.object) { 895 } else if (obj_desc->reference.object) {
896 if (ACPI_GET_DESCRIPTOR_TYPE(obj_desc) == 896 if (ACPI_GET_DESCRIPTOR_TYPE(obj_desc) ==
897 ACPI_DESC_TYPE_OPERAND) { 897 ACPI_DESC_TYPE_OPERAND) {
898 acpi_os_printf(" Target: %p [%s]\n", 898 acpi_os_printf(" Target: %p",
899 obj_desc->reference.object, 899 obj_desc->reference.object);
900 acpi_ut_get_type_name(((union 900 if (obj_desc->reference.opcode == AML_LOAD_OP) {
901 acpi_operand_object 901 /*
902 *)obj_desc-> 902 * For DDBHandle reference,
903 reference. 903 * obj_desc->Reference.Object is the table index
904 object)->common. 904 */
905 type)); 905 acpi_os_printf(" [DDBHandle]\n");
906 } else {
907 acpi_os_printf(" [%s]\n",
908 acpi_ut_get_type_name(((union
909 acpi_operand_object
910 *)
911 obj_desc->
912 reference.
913 object)->
914 common.
915 type));
916 }
906 } else { 917 } else {
907 acpi_os_printf(" Target: %p\n", 918 acpi_os_printf(" Target: %p\n",
908 obj_desc->reference.object); 919 obj_desc->reference.object);