summaryrefslogtreecommitdiffstats
path: root/arch/x86
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/x86
parent621a071f4323a5eb71ea4f289c3d8ce65a4758e4 (diff)
downloadop-kernel-dev-411462f62a65eeae7f451c6eb7a38b9d8759c61a.zip
op-kernel-dev-411462f62a65eeae7f451c6eb7a38b9d8759c61a.tar.gz
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/x86')
-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 894aa97..cf4ee51 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);
OpenPOWER on IntegriCloud