summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2009-11-16 11:52:39 +0100
committerThomas Gleixner <tglx@linutronix.de>2009-11-16 11:55:20 +0100
commit411462f62a65eeae7f451c6eb7a38b9d8759c61a (patch)
tree5304dda7471f636f5aaa2065c0ec7f9fe990e725 /arch
parentsparc: fix printk for change of variable type (diff)
downloadlinux-411462f62a65eeae7f451c6eb7a38b9d8759c61a.tar.xz
linux-411462f62a65eeae7f451c6eb7a38b9d8759c61a.zip
x86: Fix printk format due to variable type change
clockevents.mult became u32. Fix the printk format. Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/kernel/apic/apic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/apic/apic.c b/arch/x86/kernel/apic/apic.c
index 894aa97f0717..cf4ee5195c5e 100644
--- a/arch/x86/kernel/apic/apic.c
+++ b/arch/x86/kernel/apic/apic.c
@@ -662,7 +662,7 @@ static int __init calibrate_APIC_clock(void)
calibration_result = (delta * APIC_DIVISOR) / LAPIC_CAL_LOOPS;
apic_printk(APIC_VERBOSE, "..... delta %ld\n", delta);
- apic_printk(APIC_VERBOSE, "..... mult: %ld\n", lapic_clockevent.mult);
+ apic_printk(APIC_VERBOSE, "..... mult: %u\n", lapic_clockevent.mult);
apic_printk(APIC_VERBOSE, "..... calibration result: %u\n",
calibration_result);