kgdb: use atomic_inc and atomic_dec instead of atomic_set
authorJason Wessel <jason.wessel@windriver.com>
Fri, 2 Apr 2010 19:58:18 +0000 (14:58 -0500)
committerJason Wessel <jason.wessel@windriver.com>
Fri, 2 Apr 2010 19:58:18 +0000 (14:58 -0500)
Memory barriers should be used for the kgdb cpu synchronization.  The
atomic_set() does not imply a memory barrier.

Reported-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>

No differences found