-
由 Marcelo Tosatti 提交于
s2ram broke due to this KVM commit: b74f05d6 x86: kvmclock: abstract save/restore sched_clock_state restore_sched_clock_state() methods use percpu data, therefore they must run after %gs is initialized, but before mtrr_bp_restore() (due to lockstat using sched_clock). Move it to the correct place. Reported-and-tested-by: NKonstantin Khlebnikov <khlebnikov@openvz.org> Signed-off-by: NMarcelo Tosatti <mtosatti@redhat.com> Cc: Avi Kivity <avi@redhat.com> Signed-off-by: NIngo Molnar <mingo@kernel.org>
dba69d10