summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/utilities
diff options
context:
space:
mode:
authorAndrew Morton <akpm@linux-foundation.org>2007-08-25 07:28:20 +0200
committerLen Brown <len.brown@intel.com>2007-08-25 07:39:02 +0200
commit3e0d69ecf04d25f1e9c4ad658683d6d92641bb08 (patch)
treeab077146af908d06ee137d9fa427836ba70c84c2 /drivers/acpi/utilities
parentmake drivers/acpi/scan.c:create_modalias() static (diff)
downloadlinux-3e0d69ecf04d25f1e9c4ad658683d6d92641bb08.tar.xz
linux-3e0d69ecf04d25f1e9c4ad658683d6d92641bb08.zip
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')
-rw-r--r--drivers/acpi/utilities/utglobal.c1
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)
"Unknown exception code: 0x%8.8X", status));
exception = "UNKNOWN_STATUS_CODE";
+ dump_stack();
}
return (ACPI_CAST_PTR(const char, exception));