From: Alan Cox Date: Thu, 10 Jan 2008 05:36:01 +0000 (-0800) Subject: [WATCHDOG] wdt: fix locking X-Git-Tag: v2.6.25-rc1~1168^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=01c785dcb4e9fd6c4c370fd9915fc10585ed64bd;p=pandora-kernel.git [WATCHDOG] wdt: fix locking The audit of _p usage shows various drivers assume inb_p is somehow atomic. Of course it isn't and the delay can be split from the I/O cycle causing a timing violation on chips that matter (eg this one) With the proposed use of udelay() for some _p delays this will cease to be a mostly theoretical bug (as the delay stall is unsplittable) and wants fixing. Lots of other drivers need fixing this way too. Signed-off-by: Alan Cox Signed-off-by: Wim Van Sebroeck Signed-off-by: Andrew Morton --- Reading git-diff-tree failed