xen: add static initialization of steal_clock op to xen_time_ops
authorJuergen Gross <jgross@suse.com>
Tue, 26 Jul 2016 12:15:11 +0000 (14:15 +0200)
committerDavid Vrabel <david.vrabel@citrix.com>
Tue, 26 Jul 2016 13:07:06 +0000 (14:07 +0100)
commitd34c30cc1fa80f509500ff192ea6bc7d30671061
treee1efdb59cff6dbcc90f4a047d8f49f9561a1496f
parentee42d665d3f5db975caf87baf101a57235ddb566
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 <jgross@suse.com>
Signed-off-by: David Vrabel <david.vrabel@citrix.com>
arch/x86/xen/time.c
drivers/xen/time.c
include/xen/xen-ops.h