I hope someone else looks at this one because I don't understand NV. Marc Zyngier <maz@xxxxxxxxxx> writes:
+ struct arch_timer_context *ctx; + + ctx = (vcpu_has_nv(vcpu) && is_hyp_ctxt(vcpu)) ? vcpu_hvtimer(vcpu) + : vcpu_vtimer(vcpu);
I don't think that ternary is the easiest to read and would prefer an if statement.