diff options
author | Jan Beulich <jbeulich@novell.com> | 2008-01-30 07:31:23 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-01-30 07:31:23 -0500 |
commit | cae4595764cb3b08f6517e99bac1e3862854b1a1 (patch) | |
tree | 7abb47b9e81fa4bcde3b6a0b98f87c5f88b5722a /include/linux/suspend.h | |
parent | 3e7622f9d7807a0a826d042cafc211cd1a29448c (diff) |
x86: make __{save,restore}_processor_state static
.. allowing to remove their declarations from a global include file
(the symbols don't exist for anything but x86).
Likewise for 64-bits' fix_processor_context(), just that that one was
properly declared in an arch-specific header.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'include/linux/suspend.h')
-rw-r--r-- | include/linux/suspend.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/linux/suspend.h b/include/linux/suspend.h index 4360e0816956..40280df2a3db 100644 --- a/include/linux/suspend.h +++ b/include/linux/suspend.h | |||
@@ -211,9 +211,6 @@ static inline int hibernate(void) { return -ENOSYS; } | |||
211 | #ifdef CONFIG_PM_SLEEP | 211 | #ifdef CONFIG_PM_SLEEP |
212 | void save_processor_state(void); | 212 | void save_processor_state(void); |
213 | void restore_processor_state(void); | 213 | void restore_processor_state(void); |
214 | struct saved_context; | ||
215 | void __save_processor_state(struct saved_context *ctxt); | ||
216 | void __restore_processor_state(struct saved_context *ctxt); | ||
217 | 214 | ||
218 | /* kernel/power/main.c */ | 215 | /* kernel/power/main.c */ |
219 | extern struct blocking_notifier_head pm_chain_head; | 216 | extern struct blocking_notifier_head pm_chain_head; |