]> err.no Git - linux-2.6/commit
CRIS: Fix bugs in return value of atomic_inc_return and atomic_dec_return.
authorJesper Nilsson <jesper.nilsson@axis.com>
Mon, 21 Jan 2008 16:01:31 +0000 (17:01 +0100)
committerJesper Nilsson <jesper.nilsson@axis.com>
Fri, 8 Feb 2008 10:06:33 +0000 (11:06 +0100)
commit3c1d9303a9676fd4f9062f2347f1a6241eb6314b
treeac0352ae3b19367b4efcd4c139ad0bd04bd2e2e3
parentb43890af886b14d3052d8b7f9e0b2f8d261dcd7d
CRIS: Fix bugs in return value of atomic_inc_return and atomic_dec_return.

Increment and decrement before assigning to return value.
include/asm-cris/atomic.h