diff options
author | Andrew Morton <akpm@linux-foundation.org> | 2007-08-25 01:28:20 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2007-08-25 01:39:02 -0400 |
commit | 3e0d69ecf04d25f1e9c4ad658683d6d92641bb08 (patch) | |
tree | ab077146af908d06ee137d9fa427836ba70c84c2 /drivers/acpi/utilities/utglobal.c | |
parent | b3e572d2eb7cdbda6f212ad177acd0c9381903b9 (diff) |
ACPI: add dump_stack() to trace acpi_format_exception programming errors
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>
Diffstat (limited to 'drivers/acpi/utilities/utglobal.c')
-rw-r--r-- | drivers/acpi/utilities/utglobal.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/acpi/utilities/utglobal.c b/drivers/acpi/utilities/utglobal.c index 1621655d6e2b..93ea8290b4f7 100644 --- a/drivers/acpi/utilities/utglobal.c +++ b/drivers/acpi/utilities/utglobal.c | |||
@@ -126,6 +126,7 @@ const char *acpi_format_exception(acpi_status status) | |||
126 | "Unknown exception code: 0x%8.8X", status)); | 126 | "Unknown exception code: 0x%8.8X", status)); |
127 | 127 | ||
128 | exception = "UNKNOWN_STATUS_CODE"; | 128 | exception = "UNKNOWN_STATUS_CODE"; |
129 | dump_stack(); | ||
129 | } | 130 | } |
130 | 131 | ||
131 | return (ACPI_CAST_PTR(const char, exception)); | 132 | return (ACPI_CAST_PTR(const char, exception)); |