]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/alpha/kernel/time.c
[PATCH] RTC: Remove RTC UIP synchronization on Alpha
[linux-2.6-omap-h63xx.git] / arch / alpha / kernel / time.c
index 6b2921be19090c9a5a0a6a85a87f4e6d525ff258..3859749810b41fd27cd74608d6678f57723f0f3d 100644 (file)
@@ -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;