From: Wu Zhangjin <wuzhangjin@xxxxxxxxx> Currently, RTC_LIB is not available on loongson family machines(need extra patches to enable it), but the legacy RTC driver works well on them. Herein, We just deselect RTC_LIB and make the legacy RTC driver as a choice to not break the hwclock relative tools on these machines. After the relative patches for RTC_LIB upstream (http://www.linux-mips.org/archives/linux-mips/2009-11/msg00093.html), we will be safe to Remove this patch at that time, but currently, this is need. Signed-off-by: Wu Zhangjin <wuzhangjin@xxxxxxxxx> --- arch/mips/Kconfig | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig index d00c953..240a3ca 100644 --- a/arch/mips/Kconfig +++ b/arch/mips/Kconfig @@ -7,7 +7,7 @@ config MIPS select HAVE_ARCH_KGDB # Horrible source of confusion. Die, die, die ... select EMBEDDED - select RTC_LIB if !LEMOTE_FULOONG2E + select RTC_LIB if !MACH_LOONGSON mainmenu "Linux/MIPS Kernel Configuration" -- 1.6.2.1