summaryrefslogtreecommitdiffstats
path: root/arch/parisc/kernel/unaligned.c
diff options
context:
space:
mode:
authorJames Bottomley <jejb@parisc-linux.org>2006-06-24 16:05:18 +0000
committerKyle McMartin <kyle@hera.kernel.org>2006-06-27 23:28:45 +0000
commit61c340166d8c62086b6de00afc7670eea27eb2ab (patch)
tree2f7b635d242d2a83e1d6c8d94199259dace30d55 /arch/parisc/kernel/unaligned.c
parent6e1b9585aaae2fa4f9590f363b32c5d3b6339ba6 (diff)
downloadblackbird-op-linux-61c340166d8c62086b6de00afc7670eea27eb2ab.tar.gz
blackbird-op-linux-61c340166d8c62086b6de00afc7670eea27eb2ab.zip
[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>
Diffstat (limited to 'arch/parisc/kernel/unaligned.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud