x86: kvmclock: abstract save/restore sched_clock_state
[~shefty/rdma-dev.git] / arch / x86 / kernel / x86_init.c
index 6f2ec53deed0b9a477bcf9bdd630b025e227c009..e9f265fd79ae11db4d5234e7b7462134c6220619 100644 (file)
@@ -108,7 +108,9 @@ struct x86_platform_ops x86_platform = {
        .is_untracked_pat_range         = is_ISA_range,
        .nmi_init                       = default_nmi_init,
        .get_nmi_reason                 = default_get_nmi_reason,
-       .i8042_detect                   = default_i8042_detect
+       .i8042_detect                   = default_i8042_detect,
+       .save_sched_clock_state         = tsc_save_sched_clock_state,
+       .restore_sched_clock_state      = tsc_restore_sched_clock_state,
 };
 
 EXPORT_SYMBOL_GPL(x86_platform);