[PATCH v3] ARM: Use generic BUG() handler
Simon Glass
sjg at chromium.org
Thu Apr 14 19:02:17 EDT 2011
On Thu, Apr 7, 2011 at 10:57 AM, Stephen Boyd <sboyd at codeaurora.org> wrote:
> 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]
>>
> 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.
Actually this just works, except that I need to allow the PC to be
below PAGE_OFFSET where modules are loaded. This is a benefit of using
generic Linux code.
I have sent a new version of the patch to review.
Regards,
Simon
More information about the linux-arm-kernel
mailing list