From f06de2044bebea9d0d0a04e5903e000e9a99915c Mon Sep 17 00:00:00 2001 From: Stefan Lankes Date: Thu, 3 Aug 2017 13:50:44 +0200 Subject: [PATCH] use unsigned operation instead of signed --- arch/x86/kernel/entry.asm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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