|
@@ -162,6 +162,8 @@ struct x86_cpuinit_ops {
|
|
* @is_untracked_pat_range exclude from PAT logic
|
|
* @is_untracked_pat_range exclude from PAT logic
|
|
* @nmi_init enable NMI on cpus
|
|
* @nmi_init enable NMI on cpus
|
|
* @i8042_detect pre-detect if i8042 controller exists
|
|
* @i8042_detect pre-detect if i8042 controller exists
|
|
|
|
+ * @save_sched_clock_state: save state for sched_clock() on suspend
|
|
|
|
+ * @restore_sched_clock_state: restore state for sched_clock() on resume
|
|
*/
|
|
*/
|
|
struct x86_platform_ops {
|
|
struct x86_platform_ops {
|
|
unsigned long (*calibrate_tsc)(void);
|
|
unsigned long (*calibrate_tsc)(void);
|
|
@@ -173,6 +175,8 @@ struct x86_platform_ops {
|
|
void (*nmi_init)(void);
|
|
void (*nmi_init)(void);
|
|
unsigned char (*get_nmi_reason)(void);
|
|
unsigned char (*get_nmi_reason)(void);
|
|
int (*i8042_detect)(void);
|
|
int (*i8042_detect)(void);
|
|
|
|
+ void (*save_sched_clock_state)(void);
|
|
|
|
+ void (*restore_sched_clock_state)(void);
|
|
};
|
|
};
|
|
|
|
|
|
struct pci_dev;
|
|
struct pci_dev;
|