From: Ezequiel Garcia Date: Mon, 10 Feb 2014 23:00:21 +0000 (-0300) Subject: watchdog: orion: Use atomic access for shared registers X-Git-Tag: v3.15-rc1~76^2~22^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fc8cd2ac0ad8fca1ca4699da53e635b3e9cc35ed;p=pandora-kernel.git 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 Tested-by: Sebastian Hesselbarth Tested-by: Willy Tarreau Signed-off-by: Ezequiel Garcia Acked-by: Wim Van Sebroeck Tested-By: Jason Gunthorpe Signed-off-by: Jason Cooper --- Reading git-diff-tree failed