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: v2.6.17-rc1~262 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4c2e6f6a06cdd239ec17e195e7868ce0171ea154;p=linux-2.6 [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 6b2921be19..3859749810 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;