projects
/
profile
/
ivi
/
kernel-x86-ivi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0748aca
)
x86: tsc_64.c make constant UL
author
Thomas Gleixner
<tglx@linutronix.de>
Mon, 12 May 2008 13:43:36 +0000
(15:43 +0200)
committer
Thomas Gleixner
<tglx@linutronix.de>
Sun, 25 May 2008 06:39:27 +0000
(08:39 +0200)
arch/x86/kernel/tsc_64.c:245:13: warning: constant 0x100000000 is so big it is long
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/tsc_64.c
patch
|
blob
|
history
diff --git
a/arch/x86/kernel/tsc_64.c
b/arch/x86/kernel/tsc_64.c
index
fcc16e5
..
c19b0e2
100644
(file)
--- a/
arch/x86/kernel/tsc_64.c
+++ b/
arch/x86/kernel/tsc_64.c
@@
-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 += 0x100000000
UL
;
hpet2 -= hpet1;
tsc1 = (hpet2 * hpet_readl(HPET_PERIOD)) / 1000000;
} else {