[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <tip-6262b6e78ce5ba62be47774ca80f5b0a6f0eb428@git.kernel.org>
Date: Tue, 20 Feb 2018 02:27:06 -0800
From: tip-bot for Jan Beulich <tipbot@...or.com>
To: linux-tip-commits@...r.kernel.org
Cc: mingo@...nel.org, JBeulich@...e.com, dvlasenk@...hat.com,
luto@...nel.org, hpa@...or.com, tglx@...utronix.de,
brgerst@...il.com, linux-kernel@...r.kernel.org, bp@...en8.de,
peterz@...radead.org, jpoimboe@...hat.com,
torvalds@...ux-foundation.org, jbeulich@...e.com
Subject: [tip:x86/pti] x86/IO-APIC: Avoid warning in 32-bit builds
Commit-ID: 6262b6e78ce5ba62be47774ca80f5b0a6f0eb428
Gitweb: https://git.kernel.org/tip/6262b6e78ce5ba62be47774ca80f5b0a6f0eb428
Author: Jan Beulich <JBeulich@...e.com>
AuthorDate: Mon, 19 Feb 2018 07:50:23 -0700
Committer: Ingo Molnar <mingo@...nel.org>
CommitDate: Tue, 20 Feb 2018 09:33:40 +0100
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>
Acked-by: Thomas Gleixner <tglx@...utronix.de>
Cc: Andy Lutomirski <luto@...nel.org>
Cc: Borislav Petkov <bp@...en8.de>
Cc: Brian Gerst <brgerst@...il.com>
Cc: Denys Vlasenko <dvlasenk@...hat.com>
Cc: H. Peter Anvin <hpa@...or.com>
Cc: Josh Poimboeuf <jpoimboe@...hat.com>
Cc: Linus Torvalds <torvalds@...ux-foundation.org>
Cc: Peter Zijlstra <peterz@...radead.org>
Link: http://lkml.kernel.org/r/5A8AF23F02000078001A91E5@prv-mh.provo.novell.com
Signed-off-by: Ingo Molnar <mingo@...nel.org>
---
arch/x86/kernel/apic/io_apic.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/x86/kernel/apic/io_apic.c b/arch/x86/kernel/apic/io_apic.c
index 8ad2e41..7c55387 100644
--- a/arch/x86/kernel/apic/io_apic.c
+++ b/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