All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dirk Behme <dirk.behme@googlemail.com>
To: linux-rt-users@vger.kernel.org, Thomas Gleixner <tglx@linutronix.de>
Cc: Pavel Pisa <ppisa4lists@pikron.com>
Subject: Re: ARM 920T build problems for patch-2.6.19-rt1
Date: Fri, 01 Dec 2006 17:33:17 +0100	[thread overview]
Message-ID: <4570594D.2090900@gmail.com> (raw)
In-Reply-To: <200612011412.57777.ppisa4lists@pikron.com>

Pavel Pisa wrote:
> I have tried to build patch-2.6.19-rt1 patched 2.6.19 kernel
> for MX1 (PiMX1). There seems to be some problems.
> One is corrected by attached patch,
> -----------------------------------------------------------------------------------
>  include/asm-arm/atomic.h |    4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> Index: linux-2.6.19-rt/include/asm-arm/atomic.h
> ===================================================================
> --- linux-2.6.19-rt.orig/include/asm-arm/atomic.h
> +++ linux-2.6.19-rt/include/asm-arm/atomic.h
> @@ -188,10 +188,10 @@ static inline unsigned long __cmpxchg(vo
>  	volatile unsigned long *p = ptr;
>  
>  	if (size == 4) {
> -		local_irq_save(flags);
> +		raw_local_irq_save(flags);
>  		if ((prev = *p) == old)
>  			*p = new;
> -		local_irq_restore(flags);
> +		raw_local_irq_restore(flags);
>  		return(prev);
>  	} else
>  		return wrong_size_cmpxchg(ptr);

Yeah, same is necessary to get OMAP1 ARM926 compiled.

Best regards

Dirk

      reply	other threads:[~2006-12-01 16:33 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-01 13:12 ARM 920T build problems for patch-2.6.19-rt1 Pavel Pisa
2006-12-01 16:33 ` Dirk Behme [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=4570594D.2090900@gmail.com \
    --to=dirk.behme@googlemail.com \
    --cc=linux-rt-users@vger.kernel.org \
    --cc=ppisa4lists@pikron.com \
    --cc=tglx@linutronix.de \
    /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.