]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
x86: add warning when RTC clock reports binary
authorAndi Kleen <ak@suse.de>
Sat, 9 Feb 2008 15:16:59 +0000 (16:16 +0100)
committerIngo Molnar <mingo@elte.hu>
Thu, 17 Apr 2008 15:40:45 +0000 (17:40 +0200)
commit068c9222d0206e8a6a905efeb9f4fe8dde8b5ff5
tree91482d19f7e297b6d57bfb657cc6a34b7e35b386
parentb62576a2f53ad7edf604fedba0da1d4329749b7d
x86: add warning when RTC clock reports binary

We assume that the RTC clock is BCD, so print a warning if it claims
to be binary.

[ tglx@linutronix.de: changed to WARN_ON - we want to know that!
  If no one reports it we can remove the complete if (RTC_ALWAYS_BCD)
  magic, which has RTC_ALWAYS_BCD defined to 1 since Linux 1.0 ... ]

Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/kernel/rtc.c