diff options
| author | Marcelo Tosatti <[email protected]> | 2012-04-01 16:53:36 +0000 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2012-04-02 11:53:00 +0000 |
| commit | dba69d1092e291e257fb5673a3ad0e4c87878ebc (patch) | |
| tree | 9094d916ec45ec61d4014bc160f6314823ce3a7c /lib/debugobjects.c | |
| parent | x86: Use -mno-avx when available (diff) | |
| download | kernel-dba69d1092e291e257fb5673a3ad0e4c87878ebc.tar.gz kernel-dba69d1092e291e257fb5673a3ad0e4c87878ebc.zip | |
x86, kvm: Call restore_sched_clock_state() only after %gs is initialized
s2ram broke due to this KVM commit:
b74f05d61b73 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: Konstantin Khlebnikov <[email protected]>
Signed-off-by: Marcelo Tosatti <[email protected]>
Cc: Avi Kivity <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions
