[PATCH v3] ARM: Use generic BUG() handler
Stephen Boyd
sboyd at codeaurora.org
Thu Apr 7 13:57:28 EDT 2011
On 04/06/2011 04:18 PM, Simon Glass wrote:
> From: Simon Glass <sjg at google.com>
>
> ARM uses its own BUG() handler which makes its output slightly different
> from other archtectures.
>
[snip]
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
> arch/arm/Kconfig | 4 +++
> arch/arm/include/asm/bug.h | 55 ++++++++++++++++++++++++++++++++++------
> arch/arm/kernel/traps.c | 23 +++++++++++++++++
> arch/arm/kernel/vmlinux.lds.S | 3 +-
> 4 files changed, 75 insertions(+), 10 deletions(-)
Also, have you tried this with a module? I think you would at least need
to modify arch/arm/kernel/module.c to hook up the module_bug_finalize()
and module_bug_cleanup() stuff.
--
Sent by an employee of the Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.
More information about the linux-arm-kernel
mailing list