[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <tip-6125bc8b86d9da75ddac77e38f41afbf9f5de3e3@git.kernel.org>
Date: Thu, 24 Jan 2013 12:16:45 -0800
From: tip-bot for Bjorn Helgaas <bhelgaas@...gle.com>
To: linux-tip-commits@...r.kernel.org
Cc: linux-kernel@...r.kernel.org, hpa@...or.com, mingo@...nel.org,
bhelgaas@...gle.com, tglx@...utronix.de
Subject: [tip:timers/core] x86/time/rtc: Don'
t print extended CMOS year when reading RTC
Commit-ID: 6125bc8b86d9da75ddac77e38f41afbf9f5de3e3
Gitweb: http://git.kernel.org/tip/6125bc8b86d9da75ddac77e38f41afbf9f5de3e3
Author: Bjorn Helgaas <bhelgaas@...gle.com>
AuthorDate: Fri, 4 Jan 2013 15:41:47 -0700
Committer: Ingo Molnar <mingo@...nel.org>
CommitDate: Thu, 24 Jan 2013 14:56:35 +0100
x86/time/rtc: Don't print extended CMOS year when reading RTC
We shouldn't print the current century every time we read the
RTC.
Signed-off-by: Bjorn Helgaas <bhelgaas@...gle.com>
Acked-by: Thomas Gleixner <tglx@...utronix.de>
Link: http://lkml.kernel.org/r/20130104224146.15189.14874.stgit@bhelgaas.mtv.corp.google.com
Signed-off-by: Ingo Molnar <mingo@...nel.org>
---
arch/x86/kernel/rtc.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/arch/x86/kernel/rtc.c b/arch/x86/kernel/rtc.c
index 801602b..2e8f3d3 100644
--- a/arch/x86/kernel/rtc.c
+++ b/arch/x86/kernel/rtc.c
@@ -149,7 +149,6 @@ unsigned long mach_get_cmos_time(void)
if (century) {
century = bcd2bin(century);
year += century * 100;
- printk(KERN_INFO "Extended CMOS year: %d\n", century * 100);
} else
year += CMOS_YEARS_OFFS;
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists