]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commitdiff
ACPI: add dump_stack() to trace acpi_format_exception programming errors
authorAndrew Morton <akpm@linux-foundation.org>
Sat, 25 Aug 2007 05:28:20 +0000 (01:28 -0400)
committerLen Brown <len.brown@intel.com>
Sat, 25 Aug 2007 05:39:02 +0000 (01:39 -0400)
Dump the stack so we can find the secretive caller to acpi_format_exception().

Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/utilities/utglobal.c

index 1621655d6e2b331e23bd9beaf56e59fab7298e8d..93ea8290b4f741d68986bce4f3d38ba9cf18983c 100644 (file)
@@ -126,6 +126,7 @@ const char *acpi_format_exception(acpi_status status)
                            "Unknown exception code: 0x%8.8X", status));
 
                exception = "UNKNOWN_STATUS_CODE";
+               dump_stack();
        }
 
        return (ACPI_CAST_PTR(const char, exception));