James Bottomley 61c340166d [PARISC] Fix do_gettimeofday() hang
Apparently gettimeoffset can return small negative values (usually in
the 100us range).  If xtime.tv_nsec is accidentally less than this,
though (a fortunately unlikely event) it triggers the loop forever.

I've added a test and correct adjustment for this case.  It has a
warning printk in there which I'd like to leave for the time being
just in case this problem implicates some other part of the kernel.

Signed-off-by: James Bottomley <jejb@parisc-linux.org>
Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
2006-06-27 23:28:45 +00:00
..
2005-04-16 15:20:36 -07:00
2006-06-27 23:28:42 +00:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-06-27 23:28:40 +00:00
2005-04-16 15:20:36 -07:00
2006-06-27 23:28:42 +00:00
2006-06-27 23:28:40 +00:00
2006-03-23 07:38:17 -08:00
2005-04-16 15:20:36 -07:00
2006-06-27 23:28:45 +00:00
2006-06-27 23:28:44 +00:00