aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/kernel/mutex.c
diff options
context:
space:
mode:
authorJason Wessel <jason.wessel@windriver.com>2010-04-02 14:58:18 -0500
committerJason Wessel <jason.wessel@windriver.com>2010-04-02 14:58:18 -0500
commitae6bf53e0255c8ab04b6fe31806e318432570e3c (patch)
treed4726e48bfe5e0dd6ce4061551af3d0518efbe83 /kernel/mutex.c
parentkgdb: eliminate kgdb_wait(), all cpus enter the same way (diff)
downloadwireguard-linux-ae6bf53e0255c8ab04b6fe31806e318432570e3c.tar.xz
wireguard-linux-ae6bf53e0255c8ab04b6fe31806e318432570e3c.zip
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: Will Deacon <will.deacon@arm.com> Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Diffstat (limited to 'kernel/mutex.c')
0 files changed, 0 insertions, 0 deletions