From: Andrew Morton Date: Sat, 25 Aug 2007 05:28:20 +0000 (-0400) Subject: ACPI: add dump_stack() to trace acpi_format_exception programming errors X-Git-Tag: MMI-PSA29.97-13-9~40650^2~2^2~1 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=3e0d69ecf04d25f1e9c4ad658683d6d92641bb08;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git 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 Signed-off-by: Len Brown --- 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));