[PATCH] fix RTC_CLASS regression with PARISC

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Linus Torvalds <torvalds@...>, Andrew Morton <akpm@...>
Cc: linux-kernel <linux-kernel@...>, Parisc List <linux-parisc@...>, David Brownell <david-b@...>
Date: Monday, September 8, 2008 - 11:53 am

As of 2.6.26, most distribution kernels for PARISC are coming with the
wrong RTC infrastructure enabled, meaning that userland can no longer
get at the RTC, so all our parisc clocks are drifting.

The fault is this patch:

commit c750090085f260503d8beec1c73c4d2e4fe93628
Author: David Brownell <david-b@pacbell.net>
Date:   Mon Apr 28 02:11:52 2008 -0700

    rtc: avoid legacy drivers with generic framework

Which makes drivers/rtc take precedence over the generic rtc.  However,
for parisc we only have the generic rtc, so in essence this turns off
our ability to access the rtc.  Put it back again by making RTC_CLASS
unselectable if the architecture is parisc.

Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>

---

diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig
index 9a9755c..472fb19 100644
--- a/drivers/rtc/Kconfig
+++ b/drivers/rtc/Kconfig
@@ -8,7 +8,7 @@ config RTC_LIB
 menuconfig RTC_CLASS
 	tristate "Real Time Clock"
 	default n
-	depends on !S390
+	depends on !(S390 || PARISC)
 	select RTC_LIB
 	help
 	  Generic RTC class support. If you say yes here, you will


--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] fix RTC_CLASS regression with PARISC, James Bottomley, (Mon Sep 8, 11:53 am)
Re: [PATCH] fix RTC_CLASS regression with PARISC, David Brownell, (Mon Sep 8, 2:19 pm)
Re: [PATCH] fix RTC_CLASS regression with PARISC, James Bottomley, (Mon Sep 8, 2:39 pm)
Re: [PATCH] fix RTC_CLASS regression with PARISC, David Brownell, (Mon Sep 8, 3:13 pm)
Re: [PATCH] fix RTC_CLASS regression with PARISC, James Bottomley, (Mon Sep 8, 4:28 pm)
Re: [PATCH] fix RTC_CLASS regression with PARISC, David Brownell, (Mon Sep 8, 5:29 pm)
Re: [PATCH] fix RTC_CLASS regression with PARISC, James Bottomley, (Mon Sep 8, 5:37 pm)
Re: [PATCH] fix RTC_CLASS regression with PARISC, David Miller, (Mon Sep 8, 5:35 pm)
Re: [PATCH] fix RTC_CLASS regression with PARISC, James Bottomley, (Mon Sep 8, 7:00 pm)
Re: [PATCH] fix RTC_CLASS regression with PARISC, David Miller, (Mon Sep 8, 7:04 pm)
Re: [PATCH] fix RTC_CLASS regression with PARISC, David Brownell, (Mon Sep 8, 7:29 pm)
Re: [PATCH] fix RTC_CLASS regression with PARISC, David Miller, (Mon Sep 8, 7:44 pm)
Re: [PATCH] fix RTC_CLASS regression with PARISC, Paul Mackerras, (Mon Sep 8, 9:22 pm)
Re: [PATCH] fix RTC_CLASS regression with PARISC, David Brownell, (Mon Sep 8, 8:55 pm)
Re: [PATCH] fix RTC_CLASS regression with PARISC, David Miller, (Mon Sep 8, 10:52 pm)
Re: [PATCH] fix RTC_CLASS regression with PARISC, Andrew Morton, (Wed Sep 10, 5:04 pm)
Re: [PATCH] fix RTC_CLASS regression with PARISC, Randy.Dunlap, (Wed Sep 10, 5:09 pm)
Re: [PATCH] fix RTC_CLASS regression with PARISC, David Brownell, (Wed Sep 10, 5:19 pm)
Re: [PATCH] fix RTC_CLASS regression with PARISC, David Miller, (Wed Sep 10, 5:20 pm)
Re: [PATCH] fix RTC_CLASS regression with PARISC, David Brownell, (Wed Sep 10, 5:36 pm)
Re: [PATCH] fix RTC_CLASS regression with PARISC, David Miller, (Wed Sep 10, 5:40 pm)
Re: [PATCH] fix RTC_CLASS regression with PARISC, David Brownell, (Mon Sep 8, 11:17 pm)
Re: [PATCH] fix RTC_CLASS regression with PARISC, David Miller, (Mon Sep 8, 11:51 pm)
Re: [PATCH] fix RTC_CLASS regression with PARISC, David Brownell, (Tue Sep 9, 12:14 am)
Re: [PATCH] fix RTC_CLASS regression with PARISC, James Bottomley, (Mon Sep 8, 7:23 pm)
Re: [PATCH] fix RTC_CLASS regression with PARISC, David Miller, (Mon Sep 8, 7:43 pm)
Re: [PATCH] fix RTC_CLASS regression with PARISC, David Brownell, (Mon Sep 8, 7:32 pm)