From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754405Ab0IMHJ0 (ORCPT ); Mon, 13 Sep 2010 03:09:26 -0400 Received: from mail-fx0-f46.google.com ([209.85.161.46]:51843 "EHLO mail-fx0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752522Ab0IMHJZ (ORCPT ); Mon, 13 Sep 2010 03:09:25 -0400 Message-ID: <4C8DCE21.8080503@monstr.eu> Date: Mon, 13 Sep 2010 09:09:21 +0200 From: Michal Simek Reply-To: monstr@monstr.eu User-Agent: Thunderbird 2.0.0.22 (X11/20090625) MIME-Version: 1.0 To: Joe Perches CC: Jiri Kosina , microblaze-uclinux@itee.uq.edu.au, linux-kernel@vger.kernel.org Subject: Re: [PATCH 03/11] arch/microblaze: Remove pr_ uses of KERN_ References: <72545a9af0fc4392d473e87b9e9120ba62eb3c87.1284267142.git.joe@perches.com> In-Reply-To: <72545a9af0fc4392d473e87b9e9120ba62eb3c87.1284267142.git.joe@perches.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Joe Perches wrote: > Signed-off-by: Joe Perches Added to microblaze next branch. Thanks, Michal > --- > arch/microblaze/kernel/exceptions.c | 16 ++++++---------- > 1 files changed, 6 insertions(+), 10 deletions(-) > > diff --git a/arch/microblaze/kernel/exceptions.c b/arch/microblaze/kernel/exceptions.c > index b98ee8d..7dd4d12 100644 > --- a/arch/microblaze/kernel/exceptions.c > +++ b/arch/microblaze/kernel/exceptions.c > @@ -86,8 +86,7 @@ asmlinkage void full_exception(struct pt_regs *regs, unsigned int type, > switch (type & 0x1F) { > case MICROBLAZE_ILL_OPCODE_EXCEPTION: > if (user_mode(regs)) { > - pr_debug(KERN_WARNING "Illegal opcode exception " \ > - "in user mode.\n"); > + pr_debug("Illegal opcode exception in user mode\n"); > _exception(SIGILL, regs, ILL_ILLOPC, addr); > return; > } > @@ -97,8 +96,7 @@ asmlinkage void full_exception(struct pt_regs *regs, unsigned int type, > break; > case MICROBLAZE_IBUS_EXCEPTION: > if (user_mode(regs)) { > - pr_debug(KERN_WARNING "Instruction bus error " \ > - "exception in user mode.\n"); > + pr_debug("Instruction bus error exception in user mode\n"); > _exception(SIGBUS, regs, BUS_ADRERR, addr); > return; > } > @@ -108,8 +106,7 @@ asmlinkage void full_exception(struct pt_regs *regs, unsigned int type, > break; > case MICROBLAZE_DBUS_EXCEPTION: > if (user_mode(regs)) { > - pr_debug(KERN_WARNING "Data bus error exception " \ > - "in user mode.\n"); > + pr_debug("Data bus error exception in user mode\n"); > _exception(SIGBUS, regs, BUS_ADRERR, addr); > return; > } > @@ -119,8 +116,7 @@ asmlinkage void full_exception(struct pt_regs *regs, unsigned int type, > break; > case MICROBLAZE_DIV_ZERO_EXCEPTION: > if (user_mode(regs)) { > - pr_debug(KERN_WARNING "Divide by zero exception " \ > - "in user mode\n"); > + pr_debug("Divide by zero exception in user mode\n"); > _exception(SIGILL, regs, FPE_INTDIV, addr); > return; > } > @@ -129,7 +125,7 @@ asmlinkage void full_exception(struct pt_regs *regs, unsigned int type, > die("Divide by zero exception", regs, SIGBUS); > break; > case MICROBLAZE_FPU_EXCEPTION: > - pr_debug(KERN_WARNING "FPU exception\n"); > + pr_debug("FPU exception\n"); > /* IEEE FP exception */ > /* I removed fsr variable and use code var for storing fsr */ > if (fsr & FSR_IO) > @@ -147,7 +143,7 @@ asmlinkage void full_exception(struct pt_regs *regs, unsigned int type, > > #ifdef CONFIG_MMU > case MICROBLAZE_PRIVILEGED_EXCEPTION: > - pr_debug(KERN_WARNING "Privileged exception\n"); > + pr_debug("Privileged exception\n"); > /* "brk r0,r0" - used as debug breakpoint - old toolchain */ > if (get_user(code, (unsigned long *)regs->pc) == 0 > && code == 0x980c0000) { -- Michal Simek, Ing. (M.Eng) w: www.monstr.eu p: +42-0-721842854 Maintainer of Linux kernel 2.6 Microblaze Linux - http://www.monstr.eu/fdt/ Microblaze U-BOOT custodian