* [PATCH] x86: Don't print extended CMOS year when reading RTC
@ 2013-01-04 22:41 Bjorn Helgaas
2013-01-24 20:16 ` [tip:timers/core] x86/time/rtc: Don' t " tip-bot for Bjorn Helgaas
0 siblings, 1 reply; 2+ messages in thread
From: Bjorn Helgaas @ 2013-01-04 22:41 UTC (permalink / raw)
To: Thomas Gleixner, Ingo Molnar, H. Peter Anvin; +Cc: x86, linux-kernel
We shouldn't print the current century every time we read the RTC.
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
---
arch/x86/kernel/rtc.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
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;
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [tip:timers/core] x86/time/rtc: Don' t print extended CMOS year when reading RTC
2013-01-04 22:41 [PATCH] x86: Don't print extended CMOS year when reading RTC Bjorn Helgaas
@ 2013-01-24 20:16 ` tip-bot for Bjorn Helgaas
0 siblings, 0 replies; 2+ messages in thread
From: tip-bot for Bjorn Helgaas @ 2013-01-24 20:16 UTC (permalink / raw)
To: linux-tip-commits; +Cc: linux-kernel, hpa, mingo, bhelgaas, tglx
Commit-ID: 6125bc8b86d9da75ddac77e38f41afbf9f5de3e3
Gitweb: http://git.kernel.org/tip/6125bc8b86d9da75ddac77e38f41afbf9f5de3e3
Author: Bjorn Helgaas <bhelgaas@google.com>
AuthorDate: Fri, 4 Jan 2013 15:41:47 -0700
Committer: Ingo Molnar <mingo@kernel.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@google.com>
Acked-by: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/20130104224146.15189.14874.stgit@bhelgaas.mtv.corp.google.com
Signed-off-by: Ingo Molnar <mingo@kernel.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;
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-01-24 20:17 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-01-04 22:41 [PATCH] x86: Don't print extended CMOS year when reading RTC Bjorn Helgaas
2013-01-24 20:16 ` [tip:timers/core] x86/time/rtc: Don' t " tip-bot for Bjorn Helgaas
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).