diff --git a/Kernel/arch/armv7/lib.c b/Kernel/arch/armv7/lib.c
index 94c1a3af3c6416f84bfadb661eacdeb696af987a..7e54afe4ffae528e0c29d0e422c35a2ded0e12fe 100644
--- a/Kernel/arch/armv7/lib.c
+++ b/Kernel/arch/armv7/lib.c
@@ -133,7 +133,7 @@ Uint64 __divmod64(Uint64 Num, Uint64 Den, Uint64 *Rem)
 		add >>= 1;
 		Den >>= 1;
 		// If the numerator is > Den, subtract and add to return value
-		if( Num > Den )
+		if( Num >= Den )
 		{
 			ret += add;
 			Num -= Den;