projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3aaee35
)
[NTOS:KE] Disable interrupts before lowering IRQL in KiDpcInterruptHandler to avoid...
author
Timo Kreuzer
<timo.kreuzer@reactos.org>
Fri, 9 Mar 2018 20:07:10 +0000
(21:07 +0100)
committer
Timo Kreuzer
<timo.kreuzer@reactos.org>
Sun, 20 Sep 2020 21:08:17 +0000
(23:08 +0200)
ntoskrnl/ke/amd64/stubs.c
patch
|
blob
|
history
diff --git
a/ntoskrnl/ke/amd64/stubs.c
b/ntoskrnl/ke/amd64/stubs.c
index
43117fe
..
ff97393
100644
(file)
--- a/
ntoskrnl/ke/amd64/stubs.c
+++ b/
ntoskrnl/ke/amd64/stubs.c
@@
-71,9
+71,9
@@
KiDpcInterruptHandler(VOID)
KiSwapContext(APC_LEVEL, OldThread);
}
- /* Go back to old irql and disable interrupts */
- KeLowerIrql(OldIrql);
+ /* Disable interrupts and go back to old irql */
_disable();
+ KeLowerIrql(OldIrql);
}