From: Matt Mackall Date: Tue, 28 Mar 2006 09:56:09 +0000 (-0800) Subject: [PATCH] RTC: Remove RTC UIP synchronization on Alpha X-Git-Tag: v3.12-rc1~37083 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4c2e6f6a06cdd239ec17e195e7868ce0171ea154;p=kernel%2Fkernel-generic.git [PATCH] RTC: Remove RTC UIP synchronization on Alpha The sync may still be needed for CPU clock calibration but we don't sync in the regular case. Signed-off-by: Matt Mackall Cc: Richard Henderson Cc: Ivan Kokshaysky Cc: Alessandro Zummo Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/arch/alpha/kernel/time.c b/arch/alpha/kernel/time.c index 6b2921b..3859749 100644 --- a/arch/alpha/kernel/time.c +++ b/arch/alpha/kernel/time.c @@ -314,10 +314,11 @@ time_init(void) if (!est_cycle_freq) est_cycle_freq = validate_cc_value(calibrate_cc_with_pit()); - cc1 = rpcc_after_update_in_progress(); + cc1 = rpcc(); /* Calibrate CPU clock -- attempt #2. */ if (!est_cycle_freq) { + cc1 = rpcc_after_update_in_progress(); cc2 = rpcc_after_update_in_progress(); est_cycle_freq = validate_cc_value(cc2 - cc1); cc1 = cc2;