X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=arch%2Falpha%2Fkernel%2Ftime.c;h=50eccde2dcd8dc0ac9a00f495a454171be7faa4b;hb=d18ecedc021351ca432a5b7e28d8f91c00957dc7;hp=6b2921be19090c9a5a0a6a85a87f4e6d525ff258;hpb=1ef43204f4bd24dcd3156185b19b31b6b4151ae9;p=powerpc.git diff --git a/arch/alpha/kernel/time.c b/arch/alpha/kernel/time.c index 6b2921be19..50eccde2dc 100644 --- a/arch/alpha/kernel/time.c +++ b/arch/alpha/kernel/time.c @@ -27,7 +27,6 @@ * 2003-06-03 R. Scott Bailey * Tighten sanity in time_init from 1% (10,000 PPM) to 250 PPM */ -#include #include #include #include @@ -314,10 +313,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;