summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorCorey Minyard <minyard@acm.org>2005-03-07 17:47:58 -0800
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-03-07 17:47:58 -0800
commitdd26caf1efe40a9296bb5223ede57f78adf2eaf1 (patch)
tree0fce801df672b31ae80c82e7601c33aa86c04553 /kernel
parentef1ae53d0259c7c9261e848b4553ede8a3e20e35 (diff)
[PATCH] Fix race between the NMI code and the CMOS clock
This patch fixes a race between the CMOS clock setting and the NMI code. The NMI code indiscriminatly sets index registers and values in the same place the CMOS clock is set. If you are setting the CMOS clock and an NMI occurs, Bad values could be written to or read from the CMOS RAM, or the NMI operation might not occur correctly. Fixing this requires creating a special lock so the NMI code can know its CPU owns the lock an "do the right thing" in that case. This was discovered and the fix has been tested by a very demanding customer who tests the heck of out the software we deliver. Signed-off-by: Corey Minyard <minyard@acm.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions