All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paul Mundt <lethal@linux-sh.org>
To: linux-sh@vger.kernel.org
Subject: Re: needs change macro HAS_SR_RB
Date: Tue, 26 Feb 2008 05:28:17 +0000	[thread overview]
Message-ID: <20080226052817.GH19814@linux-sh.org> (raw)
In-Reply-To: <20080216.101223.68566246.saito@densan.co.jp>

On Sat, Feb 16, 2008 at 10:12:23AM +0900, Hideo Saito wrote:
> I wonder if you don't change a name intentionally, if not so ...
> 
> diff -pU8 -Naur linux-2.6.24.org/include/asm-sh/entry-macros.S linux-2.6.24/include/asm-sh/entry-macros.S
> --- linux-2.6.24.org/include/asm-sh/entry-macros.S	2008-01-25 07:58:37.000000000 +0900
> +++ linux-2.6.24/include/asm-sh/entry-macros.S	2008-02-04 11:45:35.000000000 +0900
> @@ -7,25 +7,25 @@
>  	.endm
>  
>  	.macro	sti
>  	mov	#0xf0, r11
>  	extu.b	r11, r11
>  	not	r11, r11
>  	stc	sr, r10
>  	and	r11, r10
> -#ifdef CONFIG_HAS_SR_RB
> +#ifdef CONFIG_CPU_HAS_SR_RB
>  	stc	k_g_imask, r11
>  	or	r11, r10
>  #endif
>  	ldc	r10, sr
>  	.endm
>  
Oops. Yes, that's correct. The fact this has gone undetected so far
prooves just how often SR.IMASK is used.. Good catch, thanks!

      reply	other threads:[~2008-02-26  5:28 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-16  1:12 needs change macro HAS_SR_RB Hideo Saito
2008-02-26  5:28 ` Paul Mundt [this message]

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=20080226052817.GH19814@linux-sh.org \
    --to=lethal@linux-sh.org \
    --cc=linux-sh@vger.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.