summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-u300
diff options
context:
space:
mode:
authorNicholas Piggin <npiggin@gmail.com>2017-08-09 22:41:26 +1000
committerMichael Ellerman <mpe@ellerman.id.au>2017-08-09 23:45:33 +1000
commit96ea91e7b6ee2c406598d859e7348b4829404eea (patch)
tree571de7dd46c078978511f27a1db07fc3ec6c9f61 /arch/arm/mach-u300
parent87607a30be92f1ecee3af6f4a5779e179db98118 (diff)
downloadlinux-96ea91e7b6ee2c406598d859e7348b4829404eea.tar.bz2
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 <npiggin@gmail.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/arm/mach-u300')
0 files changed, 0 insertions, 0 deletions