]> err.no Git - linux-2.6/blobdiff - drivers/lguest/hypercalls.c
lguest: per-vcpu lguest timers
[linux-2.6] / drivers / lguest / hypercalls.c
index 7827671b2234bf620e966ae71e70a104ea39492c..6f8c70ae380db22f928bd33c394515fb6df7522f 100644 (file)
@@ -80,7 +80,7 @@ static void do_hcall(struct lg_cpu *cpu, struct hcall_args *args)
                guest_set_pmd(lg, args->arg1, args->arg2);
                break;
        case LHCALL_SET_CLOCKEVENT:
-               guest_set_clockevent(lg, args->arg1);
+               guest_set_clockevent(cpu, args->arg1);
                break;
        case LHCALL_TS:
                /* This sets the TS flag, as we saw used in run_guest(). */