projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aecc636
)
[PATCH] Add a missing check for irq flags tracing in NMI
author
Andi Kleen
<ak@suse.de>
Tue, 26 Sep 2006 08:52:37 +0000
(10:52 +0200)
committer
Andi Kleen
<andi@basil.nowhere.org>
Tue, 26 Sep 2006 08:52:37 +0000
(10:52 +0200)
NMIs are not supposed to track the irq flags, but TRACE_IRQS_IRETQ
did it anyways. Add a check.
Cc: mingo@elte.hu
Signed-off-by: Andi Kleen <ak@suse.de>
arch/x86_64/kernel/entry.S
patch
|
blob
|
history
diff --git
a/arch/x86_64/kernel/entry.S
b/arch/x86_64/kernel/entry.S
index 780f9b26169f6ced474a5d840edce16ba230dd39..4fcc0ad8bbeb3630117375e478f143f648a97b4f 100644
(file)
--- a/
arch/x86_64/kernel/entry.S
+++ b/
arch/x86_64/kernel/entry.S
@@
-773,7
+773,9
@@
paranoid_exit\trace:
testl $3,CS(%rsp)
jnz paranoid_userspace\trace
paranoid_swapgs\trace:
+ .if \trace
TRACE_IRQS_IRETQ 0
+ .endif
swapgs
paranoid_restore\trace:
RESTORE_ALL 8