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...
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]