diff options
author | Alan Cox <alan@lxorguk.ukuu.org.uk> | 2008-01-09 21:36:01 -0800 |
---|---|---|
committer | Wim Van Sebroeck <wim@iguana.be> | 2008-01-25 20:23:28 +0000 |
commit | 01c785dcb4e9fd6c4c370fd9915fc10585ed64bd (patch) | |
tree | 18afb2d73c5f2fe21cae6908c110440320b3fcff /drivers/base/cpu.c | |
parent | b47711bfbcd4eb77ca61ef0162487b20e023ae55 (diff) | |
download | op-kernel-dev-01c785dcb4e9fd6c4c370fd9915fc10585ed64bd.zip op-kernel-dev-01c785dcb4e9fd6c4c370fd9915fc10585ed64bd.tar.gz |
[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 <alan@redhat.com>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'drivers/base/cpu.c')
0 files changed, 0 insertions, 0 deletions