Home
last modified time | relevance | path

Searched refs:diff_usec (Results 1 – 1 of 1) sorted by relevance

/linux-2.4.37.9/arch/sh/kernel/
Dtime.c291 unsigned long diff_usec; in get_timer_frequency() local
324 diff_usec = (tv2.tv_sec - tv1.tv_sec) * 1000000 + (tv2.tv_usec - tv1.tv_usec); in get_timer_frequency()
329 factor = (1000000 + diff_usec/2) / diff_usec; in get_timer_frequency()
331 if (factor * diff_usec > 1100000 || in get_timer_frequency()
332 factor * diff_usec < 900000) in get_timer_frequency()
333 panic("weird RTC (diff_usec %ld)", diff_usec); in get_timer_frequency()