aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/sysdev/xive/native.c
diff options
context:
space:
mode:
authorNicholas Piggin <[email protected]>2017-08-09 12:41:26 +0000
committerMichael Ellerman <[email protected]>2017-08-09 13:45:33 +0000
commit96ea91e7b6ee2c406598d859e7348b4829404eea (patch)
tree571de7dd46c078978511f27a1db07fc3ec6c9f61 /arch/powerpc/sysdev/xive/native.c
parentpowerpc/watchdog: Fix marking of stuck CPUs (diff)
downloadkernel-96ea91e7b6ee2c406598d859e7348b4829404eea.tar.gz
kernel-96ea91e7b6ee2c406598d859e7348b4829404eea.zip
powerpc/watchdog: add locking around init/exit functions
When CPUs start and stop the watchdog, they manipulate shared data that is normally protected by the lock. Other CPUs can be running concurrently at this time, so it's a good idea to use locking here to be on the safe side. Remove the barrier which is undocumented and didn't do anything. Signed-off-by: Nicholas Piggin <[email protected]> Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'arch/powerpc/sysdev/xive/native.c')
0 files changed, 0 insertions, 0 deletions