public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
To: Andrew Morton <akpm@linux-foundation.org>
Cc: Nick Piggin <nickpiggin@yahoo.com.au>,
	Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>,
	linux-kernel@vger.kernel.org
Subject: Re: 2.6.23-rc4-mm1 compile error for ppc 32
Date: Sat, 15 Sep 2007 15:32:27 +0200	[thread overview]
Message-ID: <1189863147.6403.8.camel@localhost.localdomain> (raw)
In-Reply-To: <20070913151738.4462fdf2.akpm@linux-foundation.org>

On Thu, 2007-09-13 at 15:17 -0700, Andrew Morton wrote:

> Like this?
> 
> --- a/include/asm-powerpc/bitops.h~powerpc-lock-bitops-fix
> +++ a/include/asm-powerpc/bitops.h
> @@ -226,7 +226,7 @@ static __inline__ void set_bits(unsigned
>  
>  static __inline__ void __clear_bit_unlock(int nr, volatile unsigned long *addr)
>  {
> -	__asm__ __volatile__(LWSYNC_ON_SMP ::: "memory");
> +	__asm__ __volatile__(LWSYNC_ON_SMP "" ::: "memory");
>  	__clear_bit(nr, addr);
>  }
>  

Looks ok. Can somebody test ? I'm still travelling...



  reply	other threads:[~2007-09-15 13:33 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-06 18:40 2.6.23-rc4-mm1 compile error for ppc 32 Mathieu Desnoyers
2007-09-06 23:00 ` Andrew Morton
2007-09-08  1:36   ` Nick Piggin
2007-09-08 16:42     ` Benjamin Herrenschmidt
2007-09-13 22:17       ` Andrew Morton
2007-09-15 13:32         ` Benjamin Herrenschmidt [this message]
2007-09-15 15:00           ` Mathieu Desnoyers
2007-09-17 20:31             ` Benjamin Herrenschmidt
2007-09-17 20:44               ` Balbir Singh

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=1189863147.6403.8.camel@localhost.localdomain \
    --to=benh@kernel.crashing.org \
    --cc=akpm@linux-foundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mathieu.desnoyers@polymtl.ca \
    --cc=nickpiggin@yahoo.com.au \
    /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