[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20080730.154017.10423102.davem@davemloft.net>
Date: Wed, 30 Jul 2008 15:40:17 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: mikpe@...uu.se
Cc: linux-kernel@...r.kernel.org, sparclinux@...r.kernel.org
Subject: Re: [PATCH 2.6.27-rc1] sparc64: FUTEX_OP_ANDN fix
From: Mikael Pettersson <mikpe@...uu.se>
Date: Thu, 31 Jul 2008 00:14:58 +0200 (MEST)
> Correct sparc64's implementation of FUTEX_OP_ANDN to do a
> bitwise negate of the oparg parameter before applying the
> AND operation. All other archs that support FUTEX_OP_ANDN
> either negate oparg explicitly (frv, ia64, mips, sh, x86),
> or do so indirectly by using an and-not instruction (powerpc).
> Since sparc64 has and-not, I chose to use that solution.
>
> I've not found any use of FUTEX_OP_ANDN in glibc so the
> impact of this bug is probably minor. But other user-space
> components may try to use it so it should still get fixed.
>
> Signed-off-by: Mikael Pettersson <mikpe@...uu.se>
Thanks a lot for this fix, I'll apply it!
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists