From: Dale Farnsworth Date: Tue, 24 Jul 2007 18:31:25 +0000 (-0700) Subject: [WATCHDOG] mv64x60_wdt: Rework the timeout register manipulation X-Git-Tag: v2.6.23-rc2~29^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f18699940cf2952ce6bc4ea79eda6d37616275e0;p=pandora-kernel.git [WATCHDOG] mv64x60_wdt: Rework the timeout register manipulation Consolidate the timeout config register modification into a single function. Also, use the enabled flag in the config register to determine whether the timer is enabled instead of a separately maintained flag, MV64x60_WDOG_FLAG_ENABLED. Add spinlock protection around enabling/disabling the watchdog timer. Signed-off-by: Dale Farnsworth Signed-off-by: Wim Van Sebroeck --- Reading git-diff-tree failed