[PATCH] Disable CONFIG_RTC on ppc64.

David Woodhouse dwmw2 at infradead.org
Thu Nov 17 20:42:29 EST 2005


The CONFIG_RTC option no longer does what it used to do. It used to
provide RTC functionality on ppc64 machines; now it just causes an
infinite loop in rtc_get_rtc_time() instead. Disable it forcibly and we
can use CONFIG_GEN_RTC instead, which works fine.

Signed-off-by: David Woodhouse <dwmw2 at infradead.org>

diff --git a/drivers/char/Kconfig b/drivers/char/Kconfig
index 970f70d..7491f4e 100644
--- a/drivers/char/Kconfig
+++ b/drivers/char/Kconfig
@@ -687,7 +687,7 @@ config NVRAM
 
 config RTC
 	tristate "Enhanced Real Time Clock Support"
-	depends on !PPC32 && !PARISC && !IA64 && !M68K
+	depends on !PPC32 && !PPC64 && !PARISC && !IA64 && !M68K
 	---help---
 	  If you say Y here and create a character special file /dev/rtc with
 	  major number 10 and minor number 135 using mknod ("man mknod"), you

-- 
dwmw2





More information about the Linuxppc64-dev mailing list