[ntp:hackers] atom & 64bit?

Folkert van Heusden folkert at vanheusden.com
Sun Jan 13 18:29:49 UTC 2008


Hi,

While hacking away at getting the atom driver to work with the linux pps
patch ( http://wiki.enneenne.com/index.php/LinuxPPS_support ), I noticed
that these:

        if (sec * NANOSECOND + nsec > NANOSECOND + RANGEGATE)
                return;
        else if (sec * NANOSECOND + nsec < NANOSECOND - RANGEGATE)
                return;

in atom_timer() are always triggered eithe for the > or the < part. Some
debugstatements further I found that was because both sec and nsec are
always(!) 0 (zero).
What could be causing that?


Folkert van Heusden

-- 

Multitail - gibkaja utilita po sledovaniju log-fajlov i vyvoda
kommand. Fil'trovanie, raskrašivanie, slijanie, vizual'noe sravnenie,
i t.d.  http://www.vanheusden.com/multitail/
----------------------------------------------------------------------
Phone: +31-6-41278122, PGP-key: 1F28D8AE, www.vanheusden.com


More information about the hackers mailing list