[PATCH] x86/IO-APIC: avoid warning in 32-bit builds

From: Jan Beulich
Date: Mon Feb 19 2018 - 09:50:33 EST


Constants wider than 32 bits should be tagged with ULL.

Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx>
---
arch/x86/kernel/apic/io_apic.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

--- 4.16-rc2/arch/x86/kernel/apic/io_apic.c
+++ 4.16-rc2-ix86-IO-APIC-constant/arch/x86/kernel/apic/io_apic.c
@@ -1603,7 +1603,7 @@ static void __init delay_with_tsc(void)
do {
rep_nop();
now = rdtsc();
- } while ((now - start) < 40000000000UL / HZ &&
+ } while ((now - start) < 40000000000ULL / HZ &&
time_before_eq(jiffies, end));
}