Re: [PATCH v3] ARM: Use generic BUG() handler

From: Stephen Boyd
Date: Thu Apr 07 2011 - 13:57:43 EST


On 04/06/2011 04:18 PM, Simon Glass wrote:
> From: Simon Glass <sjg@xxxxxxxxxx>
>
> ARM uses its own BUG() handler which makes its output slightly different
> from other archtectures.
>
[snip]
>
> Signed-off-by: Simon Glass <sjg@xxxxxxxxxxxx>
> ---
> 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.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/