提交 3e0d69ec 编写于 作者: A Andrew Morton 提交者: Len Brown

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: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NLen Brown <len.brown@intel.com>
上级 b3e572d2
......@@ -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));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册