Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 63737
b: refs/heads/master
c: 3725009
h: refs/heads/master
i:
  63735: af14616
v: v3
  • Loading branch information
Rusty Russell authored and Linus Torvalds committed Aug 9, 2007
1 parent 8aa9fcd commit 4a01f67
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 88ffc3505988196ef5cfdc0278ad89025c2a7b1a
refs/heads/master: 37250097e1b730c30da1790e354c0da65e617043
4 changes: 2 additions & 2 deletions trunk/drivers/lguest/lguest.c
Original file line number Diff line number Diff line change
Expand Up @@ -687,7 +687,8 @@ static struct clocksource lguest_clock = {
.rating = 400,
.read = lguest_clock_read,
.mask = CLOCKSOURCE_MASK(64),
.mult = 1,
.mult = 1 << 22,
.shift = 22,
};

/* The "scheduler clock" is just our real clock, adjusted to start at zero */
Expand Down Expand Up @@ -770,7 +771,6 @@ static void lguest_time_init(void)
* way, the "rating" is initialized so high that it's always chosen
* over any other clocksource. */
if (lguest_data.tsc_khz) {
lguest_clock.shift = 22;
lguest_clock.mult = clocksource_khz2mult(lguest_data.tsc_khz,
lguest_clock.shift);
lguest_clock.flags = CLOCK_SOURCE_IS_CONTINUOUS;
Expand Down

0 comments on commit 4a01f67

Please sign in to comment.