mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] x86/IO-APIC: avoid warning in 32-bit builds
@ 2018-02-19 14:50 Jan Beulich
  2018-02-20 10:27 ` [tip:x86/pti] x86/IO-APIC: Avoid " tip-bot for Jan Beulich
  0 siblings, 1 reply; 2+ messages in thread
From: Jan Beulich @ 2018-02-19 14:50 UTC (permalink / raw)
  To: mingo, tglx, hpa; +Cc: linux-kernel

Constants wider than 32 bits should be tagged with ULL.

Signed-off-by: Jan Beulich <jbeulich@suse.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));
 }
 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-02-20 10:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-02-19 14:50 [PATCH] x86/IO-APIC: avoid warning in 32-bit builds Jan Beulich
2018-02-20 10:27 ` [tip:x86/pti] x86/IO-APIC: Avoid " tip-bot for Jan Beulich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome