diff options
| author | Jamie Lokier <jamie@shareable.org> | 2003-02-08 10:41:34 -0800 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.transmeta.com> | 2003-02-08 10:41:34 -0800 |
| commit | 28a59cb02a6b97cb27e914687c0346c608abd110 (patch) | |
| tree | ef0942f7f5625aaff86e5a18358ac558e15a859f /include/linux/msg.h | |
| parent | 167b1210f6211d52d3e2f2398434b3bd3ba2b664 (diff) | |
[PATCH] CONFIG_PREEMPT fix of do_debug()
If CONFIG_PREEMPT is enabled, and the kernel is preempted just before
do_debug() has a chance to save the debug register values, DR6 could be
read from the wrong CPU.
It is exactly the same problem as reading %cr2 in the page fault
handler. Same fix: make the handler a interrupt gate, and enable
interrupts only once safe.
Diffstat (limited to 'include/linux/msg.h')
0 files changed, 0 insertions, 0 deletions
