]> www.infradead.org Git - users/jedix/linux-maple.git/commit
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)
committerBob Liu <bob.liu@oracle.com>
Thu, 20 Oct 2016 08:03:48 +0000 (04:03 -0400)
commitd69a2e3337fb7c651d7b48d920f8ba8c5fe81ba1
tree292bd0498828281b9df880f149de2de98aad770d
parent6a9806836c6cad0a39fcdecce048f497fa689cd5
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>
(cherry picked from commit d34c30cc1fa80f509500ff192ea6bc7d30671061)
Signed-off-by: Bob Liu <bob.liu@oracle.com>
Orabug: 24820937
arch/x86/xen/time.c
drivers/xen/time.c
include/xen/xen-ops.h