diff options
author | Nicholas Piggin <npiggin@gmail.com> | 2017-08-09 22:41:26 +1000 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2017-08-09 23:45:33 +1000 |
commit | 96ea91e7b6ee2c406598d859e7348b4829404eea (patch) | |
tree | 571de7dd46c078978511f27a1db07fc3ec6c9f61 /fs | |
parent | 87607a30be92f1ecee3af6f4a5779e179db98118 (diff) |
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 'fs')
0 files changed, 0 insertions, 0 deletions