public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Michal Simek <monstr@monstr.eu>
To: Joe Perches <joe@perches.com>
Cc: Jiri Kosina <trivial@kernel.org>,
	microblaze-uclinux@itee.uq.edu.au, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 03/11] arch/microblaze: Remove pr_<level> uses of KERN_<level>
Date: Mon, 13 Sep 2010 09:09:21 +0200	[thread overview]
Message-ID: <4C8DCE21.8080503@monstr.eu> (raw)
In-Reply-To: <72545a9af0fc4392d473e87b9e9120ba62eb3c87.1284267142.git.joe@perches.com>

Joe Perches wrote:
> Signed-off-by: Joe Perches <joe@perches.com>

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

  reply	other threads:[~2010-09-13  7:09 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <cover.1284267142.git.joe@perches.com>
2010-09-12  5:10 ` [PATCH 01/11] arch/arm: Remove pr_<level> uses of KERN_<level> Joe Perches
2010-09-14  7:37   ` Eric Miao
2010-09-12  5:10 ` [PATCH 02/11] arch/avr32: " Joe Perches
2010-09-12  5:10 ` [PATCH 03/11] arch/microblaze: " Joe Perches
2010-09-13  7:09   ` Michal Simek [this message]
2010-09-12  5:10 ` [PATCH 04/11] arch/mips: " Joe Perches
2010-09-18 23:59   ` Ralf Baechle
2010-09-12  5:10 ` [PATCH 05/11] arch/powerpc: " Joe Perches
2010-09-12  5:10 ` [PATCH 06/11] arch/x86: " Joe Perches
2010-09-12  7:34   ` [tip:x86/debug] x86: " tip-bot for Joe Perches
2010-09-12  5:10 ` [PATCH 07/11] drivers/infiniband: " Joe Perches
2010-09-29  3:51   ` Roland Dreier
2010-09-12  5:10 ` [PATCH 08/11] drivers/net/skfp: " Joe Perches
2010-09-14  3:04   ` David Miller
2010-09-12  5:10 ` [PATCH 09/11] drivers/staging/msm: " Joe Perches
2010-09-12  5:10 ` [PATCH 10/11] drivers/usb/gadget: " Joe Perches
2010-09-21 16:11   ` Joe Perches
2010-09-21 20:35     ` Greg KH
2010-09-12  5:10 ` [PATCH 11/11] sound: " Joe Perches
2010-09-13  8:25   ` Mark Brown
2010-09-13 17:55   ` Geoff Levand
2010-09-13 21:41   ` Takashi Iwai

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4C8DCE21.8080503@monstr.eu \
    --to=monstr@monstr.eu \
    --cc=joe@perches.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=microblaze-uclinux@itee.uq.edu.au \
    --cc=trivial@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox