commit | 54f9a64a36e4fc041721a954e674797c2686ea4e | [log] [tgz] |
---|---|---|
author | Gavin Shan <gwshan@linux.vnet.ibm.com> | Thu Aug 27 15:58:27 2015 +1000 |
committer | Michael Ellerman <mpe@ellerman.id.au> | Thu Oct 15 20:31:58 2015 +1100 |
tree | 1e2e5df84aa1ab4282db37c4fa653fb04e506756 | |
parent | 2e1a2556ebbbe7b53a05b721ac0d3d8ca9873cdb [diff] |
powerpc/eeh: atomic_dec_if_positive() to update passthru count No need to have two atomic opertions (update and fetch/check) when decreasing PE's number of passed devices as one atomic operation is enough. Signed-off-by: Gavin Shan <gwshan@linux.vnet.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>