--- linux-2.4.18-hddcs.18.1/arch/alpha/kernel/time.c.alpha Mon Feb 25 12:37:52 2002 +++ linux-2.4.18-hddcs.18.1/arch/alpha/kernel/time.c Tue Dec 3 22:20:09 2002 @@ -288,7 +288,7 @@ void __init time_init(void) { unsigned int year, mon, day, hour, min, sec, cc1, cc2, epoch; - unsigned long cycle_freq, one_percent; + unsigned long cycle_freq, dot_one_percent; long diff; /* Calibrate CPU clock -- attempt #1. */ @@ -306,13 +306,13 @@ time_init(void) cycle_freq = hwrpb->cycle_freq; if (est_cycle_freq) { - /* If the given value is within 1% of what we calculated, + /* If the given value is within .1% of what we calculated, accept it. Otherwise, use what we found. */ - one_percent = cycle_freq / 100; + dot_one_percent = cycle_freq / 1000; diff = cycle_freq - est_cycle_freq; if (diff < 0) diff = -diff; - if (diff > one_percent) { + if (diff > dot_one_percent) { cycle_freq = est_cycle_freq; printk("HWRPB cycle frequency bogus. " "Estimated %lu Hz\n", cycle_freq);