[PATCH 12/14] RTC: Remove RTC UIP synchronization on Alpha

From: Matt Mackall
Date: Fri Mar 17 2006 - 18:59:15 EST


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 <mpm@xxxxxxxxxxx>

Index: rtc/arch/alpha/kernel/time.c
===================================================================
--- rtc.orig/arch/alpha/kernel/time.c 2005-10-27 19:02:08.000000000 -0500
+++ rtc/arch/alpha/kernel/time.c 2006-03-12 13:00:48.000000000 -0600
@@ -318,10 +318,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;
-
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/