From: James Bottomley Date: Sat, 24 Jun 2006 16:05:18 +0000 (+0000) Subject: [PARISC] Fix do_gettimeofday() hang X-Git-Tag: v2.6.18-rc1~359^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=61c340166d8c62086b6de00afc7670eea27eb2ab;p=pandora-kernel.git [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 Signed-off-by: Kyle McMartin --- Reading git-diff-tree failed