diff options
author | Dave Jones <davej@redhat.com> | 2006-04-27 18:39:24 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-04-28 08:33:47 -0700 |
commit | 7f5910ecabd3a36b9c06f73e33b673ccf150f3b4 (patch) | |
tree | 17887871973a1475e79680966c4f843f1b7173f3 /arch/i386 | |
parent | 1d3d1d3e0356b583b642b016f874e2d1bd578453 (diff) | |
download | kernel_samsung_smdk4412-7f5910ecabd3a36b9c06f73e33b673ccf150f3b4.tar.gz kernel_samsung_smdk4412-7f5910ecabd3a36b9c06f73e33b673ccf150f3b4.tar.bz2 kernel_samsung_smdk4412-7f5910ecabd3a36b9c06f73e33b673ccf150f3b4.zip |
[PATCH] Avoid printing pointless tsc skew msgs
These messages are kinda silly..
CPU#0 had 0 usecs TSC skew, fixed it up.
CPU#1 had 0 usecs TSC skew, fixed it up.
inspired from: http://bugzilla.kernel.org/attachment.cgi?id=7713&action=view
Signed-off-by: Dave Jones <davej@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/i386')
-rw-r--r-- | arch/i386/kernel/smpboot.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/i386/kernel/smpboot.c b/arch/i386/kernel/smpboot.c index a6969903f2d..825b2b4ca72 100644 --- a/arch/i386/kernel/smpboot.c +++ b/arch/i386/kernel/smpboot.c @@ -313,7 +313,9 @@ static void __init synchronize_tsc_bp (void) if (tsc_values[i] < avg) realdelta = -realdelta; - printk(KERN_INFO "CPU#%d had %ld usecs TSC skew, fixed it up.\n", i, realdelta); + if (realdelta > 0) + printk(KERN_INFO "CPU#%d had %ld usecs TSC " + "skew, fixed it up.\n", i, realdelta); } sum += delta; |