summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorEzequiel Garcia <ezequiel.garcia@free-electrons.com>2014-02-10 20:00:21 -0300
committerJason Cooper <jason@lakedaemon.net>2014-02-22 03:42:42 +0000
commitfc8cd2ac0ad8fca1ca4699da53e635b3e9cc35ed (patch)
tree8bcfbf309e1addc002e5c8d6435a7ae5b1e03c76 /tools/perf/scripts/python
parentbb02c662d641d51ea8c3ae9c828e89fbcfe04ba7 (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 <linux@roeck-us.net> Tested-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> Tested-by: Willy Tarreau <w@1wt.eu> Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com> Acked-by: Wim Van Sebroeck <wim@iguana.be> Tested-By: Jason Gunthorpe <jgunthorpe@obsidianresearch.com> Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions