Skip to content
Commit ae6bf53e authored by Jason Wessel's avatar Jason Wessel
Browse files

kgdb: use atomic_inc and atomic_dec instead of atomic_set



Memory barriers should be used for the kgdb cpu synchronization.  The
atomic_set() does not imply a memory barrier.

Reported-by: default avatarWill Deacon <will.deacon@arm.com>
Signed-off-by: default avatarJason Wessel <jason.wessel@windriver.com>
parent 62fae312
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment