summaryrefslogtreecommitdiff
path: root/drivers/lguest/interrupts_and_traps.c
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2007-08-09 14:52:35 +0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-08-09 19:14:56 +0400
commit37250097e1b730c30da1790e354c0da65e617043 (patch)
tree354c1193eb230ecc27eb1a00d555d8c2bc7fd6e9 /drivers/lguest/interrupts_and_traps.c
parent88ffc3505988196ef5cfdc0278ad89025c2a7b1a (diff)
downloadlinux-37250097e1b730c30da1790e354c0da65e617043.tar.xz
Fix non-TSC guest clocksource lockup
lguest uses a host-supplied wallclock-based clocksource when the TSC is not reliable. As this is already in nanoseconds, I naively used a multiplier of 1 and a shift of 0. But update_wall_time() in its infinite wisdom decides to adjust the clock a little (where does it think it's getting a more accurate time from?) It will happily tweak the multiplier... to 0, then -1. So the "fix" is to use a shift of 22 like everyone else, and a multiplier of 1 << 22. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/lguest/interrupts_and_traps.c')
0 files changed, 0 insertions, 0 deletions