Revision f54ae69bafa16434ce46bc2f1fe556bce4d23650 authored by Andres Salomon on 09 February 2008, 22:24:08 UTC, committed by Thomas Gleixner on 09 February 2008, 22:24:08 UTC
We *really* don't want to be reading MFGPTx_SETUP and writing back those
values.  What we want to be doing is clearing CMP1 and CMP2 unconditionally;
otherwise, we have races where CMP1 and/or CMP2 fire after we've read
MFGPTx_SETUP.  They can also fire between when we've written ~CNTEN to
the register, and when the new register values get copied to the timer's
version of the register.  By clearing both fields, we're okay.

Signed-off-by: Andres Salomon <dilinger@debian.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
1 parent f087515
History
File Mode Size
Makefile -rw-r--r-- 318 bytes
compat.c -rw-r--r-- 17.0 KB
compat_mq.c -rw-r--r-- 4.0 KB
ipc_sysctl.c -rw-r--r-- 4.1 KB
mqueue.c -rw-r--r-- 29.8 KB
msg.c -rw-r--r-- 20.8 KB
msgutil.c -rw-r--r-- 2.3 KB
namespace.c -rw-r--r-- 1.7 KB
sem.c -rw-r--r-- 33.7 KB
shm.c -rw-r--r-- 27.1 KB
util.c -rw-r--r-- 21.1 KB
util.h -rw-r--r-- 4.5 KB

back to top