Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c2c14fb7 authored by Thomas Gleixner's avatar Thomas Gleixner
Browse files

x86: tsc_64.c make constant UL



arch/x86/kernel/tsc_64.c:245:13: warning: constant 0x100000000 is so big it is long

Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 0748aca6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -242,7 +242,7 @@ void __init tsc_calibrate(void)
	if (hpet) {
		printk(KERN_INFO "TSC calibrated against HPET\n");
		if (hpet2 < hpet1)
			hpet2 += 0x100000000;
			hpet2 += 0x100000000UL;
		hpet2 -= hpet1;
		tsc1 = (hpet2 * hpet_readl(HPET_PERIOD)) / 1000000;
	} else {