mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
xen: add static initialization of steal_clock op to xen_time_ops
pv_time_ops might be overwritten with xen_time_ops after the steal_clock operation has been initialized already. To prevent calling a now uninitialized function pointer add the steal_clock static initialization to xen_time_ops. Signed-off-by: Juergen Gross <[email protected]> Signed-off-by: David Vrabel <[email protected]>
This commit is contained in:
parent
ee42d665d3
commit
d34c30cc1f
3 changed files with 3 additions and 1 deletions
|
|
@ -80,7 +80,7 @@ bool xen_vcpu_stolen(int vcpu)
|
|||
return per_cpu(xen_runstate, vcpu).state == RUNSTATE_runnable;
|
||||
}
|
||||
|
||||
static u64 xen_steal_clock(int cpu)
|
||||
u64 xen_steal_clock(int cpu)
|
||||
{
|
||||
struct vcpu_runstate_info state;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue