]> bbs.cooldavid.org Git - net-next-2.6.git/commit
sh: fixed cmpxchg gRB version
authorGiuseppe CAVALLARO <peppe.cavallaro@st.com>
Mon, 25 Jan 2010 15:12:07 +0000 (16:12 +0100)
committerPaul Mundt <lethal@linux-sh.org>
Wed, 27 Jan 2010 13:36:25 +0000 (22:36 +0900)
commit7013109f52ff38ad9ea38952cedc144c8e8b9636
tree17daafaa4cbff08d5db7481976ff91e8626ea3ba
parent660e2acad81c19b404f7d7d06e57a6d5e6ce7426
sh: fixed cmpxchg gRB version

This patch fixes a bug within the cmpxchg GRB version.

A problem was notices while running some tests to stress
the priority inheritance, for example pi_stress
(http://rt.wiki.kernel.org/index.php/PI_Mutex_Test).

Also, without this patch, after applying the latest work to
consolidate atomic_cmpxchg() definitions (commit:
8c0b8139c87cfe8b95c6e763b4ca3190aa9b1ad0)
the Kernel doesn't boot at all.

Signed-off-by: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Signed-off-by: Stuart Menefy <stuart.menefy@st.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/include/asm/cmpxchg-grb.h