diff options
Diffstat (limited to 'arch/x86/power/cpu.c')
-rw-r--r-- | arch/x86/power/cpu.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/power/cpu.c b/arch/x86/power/cpu.c index 4889655ba784..47936830968c 100644 --- a/arch/x86/power/cpu.c +++ b/arch/x86/power/cpu.c | |||
@@ -115,7 +115,7 @@ static void __save_processor_state(struct saved_context *ctxt) | |||
115 | void save_processor_state(void) | 115 | void save_processor_state(void) |
116 | { | 116 | { |
117 | __save_processor_state(&saved_context); | 117 | __save_processor_state(&saved_context); |
118 | save_sched_clock_state(); | 118 | x86_platform.save_sched_clock_state(); |
119 | } | 119 | } |
120 | #ifdef CONFIG_X86_32 | 120 | #ifdef CONFIG_X86_32 |
121 | EXPORT_SYMBOL(save_processor_state); | 121 | EXPORT_SYMBOL(save_processor_state); |
@@ -231,8 +231,8 @@ static void __restore_processor_state(struct saved_context *ctxt) | |||
231 | /* Needed by apm.c */ | 231 | /* Needed by apm.c */ |
232 | void restore_processor_state(void) | 232 | void restore_processor_state(void) |
233 | { | 233 | { |
234 | x86_platform.restore_sched_clock_state(); | ||
234 | __restore_processor_state(&saved_context); | 235 | __restore_processor_state(&saved_context); |
235 | restore_sched_clock_state(); | ||
236 | } | 236 | } |
237 | #ifdef CONFIG_X86_32 | 237 | #ifdef CONFIG_X86_32 |
238 | EXPORT_SYMBOL(restore_processor_state); | 238 | EXPORT_SYMBOL(restore_processor_state); |