Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754921Ab1DGR5b (ORCPT ); Thu, 7 Apr 2011 13:57:31 -0400 Received: from wolverine01.qualcomm.com ([199.106.114.254]:11999 "EHLO wolverine01.qualcomm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751702Ab1DGR5a (ORCPT ); Thu, 7 Apr 2011 13:57:30 -0400 X-IronPort-AV: E=McAfee;i="5400,1158,6309"; a="84550988" Message-ID: <4D9DFB08.8090206@codeaurora.org> Date: Thu, 07 Apr 2011 10:57:28 -0700 From: Stephen Boyd User-Agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: Simon Glass CC: linux-arm-kernel@lists.infradead.org, Russell King , Tony Lindgren , Nicolas Pitre , Catalin Marinas , Joe Perches , Laurent Pinchart , Alexander Shishkin , Phil Carmody , Rabin Vincent , linux-kernel@vger.kernel.org, Omar Ramirez Luna , Dave Martin , Simon Glass Subject: Re: [PATCH v3] ARM: Use generic BUG() handler References: <1302131890-20953-1-git-send-email-sjg@chromium.org> In-Reply-To: <1302131890-20953-1-git-send-email-sjg@chromium.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1093 Lines: 29 On 04/06/2011 04:18 PM, Simon Glass wrote: > From: Simon Glass > > ARM uses its own BUG() handler which makes its output slightly different > from other archtectures. > [snip] > > Signed-off-by: Simon Glass > --- > 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/