summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorGavin Shan <gwshan@linux.vnet.ibm.com>2015-08-27 07:58:27 +0200
committerMichael Ellerman <mpe@ellerman.id.au>2015-10-15 11:31:58 +0200
commit54f9a64a36e4fc041721a954e674797c2686ea4e (patch)
tree1e2e5df84aa1ab4282db37c4fa653fb04e506756 /drivers
parentcxl: Free virtual PHB when removing (diff)
downloadlinux-54f9a64a36e4fc041721a954e674797c2686ea4e.tar.xz
linux-54f9a64a36e4fc041721a954e674797c2686ea4e.zip
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>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions