diff --git a/arch/x86/kernel/entry.asm b/arch/x86/kernel/entry.asm index a4c68e835..4fb92acc2 100644 --- a/arch/x86/kernel/entry.asm +++ b/arch/x86/kernel/entry.asm @@ -202,9 +202,9 @@ Lremap: add rdi, 8 ; note: the whole code segement has to fit in the first pgd cmp rcx, rsi - jnb Lno_pml4_init + jnl Lno_pml4_init cmp rcx, r11 - jb Lremap + jl Lremap Lno_pml4_init: ; Set CR3