diff options
| author | Ezequiel Garcia <[email protected]> | 2014-02-10 20:00:21 -0300 |
|---|---|---|
| committer | Jason Cooper <[email protected]> | 2014-02-22 03:42:42 +0000 |
| commit | fc8cd2ac0ad8fca1ca4699da53e635b3e9cc35ed (patch) | |
| tree | 8bcfbf309e1addc002e5c8d6435a7ae5b1e03c76 /scripts/gdb/linux | |
| parent | bb02c662d641d51ea8c3ae9c828e89fbcfe04ba7 (diff) | |
watchdog: orion: Use atomic access for shared registers
Since the timer control register is shared with the clocksource driver,
use the recently introduced atomic_io_clear_set() to access such register.
Given the watchdog core already provides serialization for all the
watchdog ops, this commit allows to remove the spinlock entirely.
Reviewed-by: Guenter Roeck <[email protected]>
Tested-by: Sebastian Hesselbarth <[email protected]>
Tested-by: Willy Tarreau <[email protected]>
Signed-off-by: Ezequiel Garcia <[email protected]>
Acked-by: Wim Van Sebroeck <[email protected]>
Tested-By: Jason Gunthorpe <[email protected]>
Signed-off-by: Jason Cooper <[email protected]>
Diffstat (limited to 'scripts/gdb/linux')
0 files changed, 0 insertions, 0 deletions