]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] m68k: fix cmpxchg compile errors if CONFIG_RMW_INSNS=n
authorRoman Zippel <zippel@linux-m68k.org>
Fri, 10 Mar 2006 01:33:53 +0000 (17:33 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 10 Mar 2006 03:47:38 +0000 (19:47 -0800)
commit7b61fcda8a640bb87be23f9f09c1f24357b5c6e1
tree691c42a07df609934cb1cba15cf94b9c04978654
parentb707dbe6c52e143a9afea06aa8f84103135ca873
[PATCH] m68k: fix cmpxchg compile errors if CONFIG_RMW_INSNS=n

We require that all archs implement atomic_cmpxchg(), for the generic
version of atomic_add_unless().

Signed-off-by: Roman Zippel <zippel@linux-m68k.org>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/asm-m68k/atomic.h