Commit 8d246d72 authored by Bjorn Helgaas's avatar Bjorn Helgaas Committed by Linus Torvalds

[PATCH] fix HPET time_interpolator registration

Fixup after mid-air collision between Christoph adding
time_interpolator.mask, and me removing a static time_interpolator struct
from hpet.
Signed-off-by: default avatarBjorn Helgaas <bjorn.helgaas@hp.com>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent a73597cd
......@@ -712,6 +712,7 @@ static void hpet_register_interpolator(struct hpets *hpetp)
ti->addr = &hpetp->hp_hpet->hpet_mc;
ti->frequency = hpet_time_div(hpets->hp_period);
ti->drift = ti->frequency * HPET_DRIFT / 1000000;
ti->mask = -1;
hpetp->hp_interpolator = ti;
register_time_interpolator(ti);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment