[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <5A8AF23F02000078001A91E5@prv-mh.provo.novell.com>
Date: Mon, 19 Feb 2018 07:50:23 -0700
From: "Jan Beulich" <JBeulich@...e.com>
To: <mingo@...e.hu>, <tglx@...utronix.de>, <hpa@...or.com>
Cc: <linux-kernel@...r.kernel.org>
Subject: [PATCH] x86/IO-APIC: avoid warning in 32-bit builds
Constants wider than 32 bits should be tagged with ULL.
Signed-off-by: Jan Beulich <jbeulich@...e.com>
---
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));
}
Powered by blists - more mailing lists