https://git.reactos.org/?p=reactos.git;a=commitdiff;h=5d7dd4a3b5cd7927f1109…
commit 5d7dd4a3b5cd7927f110925f30ced6171249762f
Author: Hervé Poussineau <hpoussin(a)reactos.org>
AuthorDate: Sun Jan 10 07:35:19 2021 +0100
Commit: Hervé Poussineau <hpoussin(a)reactos.org>
CommitDate: Thu Jan 28 20:31:17 2021 +0100
[ASM x64] Prevent having same label multiple times in ntoskrnl/ke/amd64/trap.S
---
sdk/include/asm/trapamd64.inc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sdk/include/asm/trapamd64.inc b/sdk/include/asm/trapamd64.inc
index 4774fc09076..6cf846907ab 100644
--- a/sdk/include/asm/trapamd64.inc
+++ b/sdk/include/asm/trapamd64.inc
@@ -156,9 +156,9 @@ MACRO(ExitTrap, Flags)
/* Check previous irql */
mov rax, cr8
cmp [rbp + KTRAP_FRAME_PreviousIrql], al
- je .irql_ok
+ je 1f
int 3
- .irql_ok:
+ 1:
#endif
if (Flags AND TF_SEGMENTS)