Re: [PATCH v2 3/3] timekeeping: Add CONFIG_HAS_PERSISTENT_CLOCK option

From: John Stultz
Date: Tue Jan 15 2013 - 14:50:05 EST


On 01/15/2013 08:09 AM, Feng Tang wrote:
Make the persistent clock check a kernel config option, so that some
platform can explicitely select it, also make CONFIG_RTC_HCTOSYS depends
on its non-existence, which could prevent the persistent clock and RTC
code from doing similar thing twice during system's init/suspend/resume
phases.

If the CONFIG_HAS_PERSISTENT_CLOCK=n, then no change happens for kernel
which still does the persistent clock check in timekeeping_init().

Cc: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
Suggested-by: John Stultz <john.stultz@xxxxxxxxxx>
Signed-off-by: Feng Tang <feng.tang@xxxxxxxxx>

Applied. I also added a dependency for Jason's CONFIG_RTC_SYSTOHC.

thanks
-john

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/