diff options
author | Mathieu Desnoyers <mathieu.desnoyers@efficios.com> | 2011-03-16 19:05:43 -0400 |
---|---|---|
committer | Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca> | 2011-03-16 19:05:43 -0400 |
commit | e4692bb7df4c9316939baf83d96fc03ab938384d (patch) | |
tree | 83c43ed8f238da9195b993ec4d09496d467bf231 /arch | |
parent | 729c0d86b6c58ded3118d67b80b43db60df2cb61 (diff) |
idle-notifier-x86_32-fix-export-symbol
idle notifier x86_32 fix export symbol
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/x86/include/asm/idle.h | 6 | ||||
-rw-r--r-- | arch/x86/kernel/process_32.c | 3 | ||||
-rw-r--r-- | arch/x86/kernel/process_64.c | 3 |
3 files changed, 9 insertions, 3 deletions
diff --git a/arch/x86/include/asm/idle.h b/arch/x86/include/asm/idle.h index 778b3a1c058..9b1db108f9e 100644 --- a/arch/x86/include/asm/idle.h +++ b/arch/x86/include/asm/idle.h @@ -1,9 +1,9 @@ #ifndef _ASM_X86_IDLE_H #define _ASM_X86_IDLE_H -void enter_idle(void); -void __exit_idle(void); -void exit_idle(void); +extern void enter_idle(void); +extern void __exit_idle(void); +extern void exit_idle(void); void c1e_remove_cpu(int cpu); diff --git a/arch/x86/kernel/process_32.c b/arch/x86/kernel/process_32.c index b4333284649..256ba23211d 100644 --- a/arch/x86/kernel/process_32.c +++ b/arch/x86/kernel/process_32.c @@ -73,6 +73,7 @@ void enter_idle(void) trace_pm_idle_entry(); notify_idle(IDLE_START); } +EXPORT_SYMBOL_GPL(enter_idle); void __exit_idle(void) { @@ -81,6 +82,7 @@ void __exit_idle(void) notify_idle(IDLE_END); trace_pm_idle_exit(); } +EXPORT_SYMBOL_GPL(__exit_idle); /* Called from interrupts to signify idle end */ void exit_idle(void) @@ -90,6 +92,7 @@ void exit_idle(void) return; __exit_idle(); } +EXPORT_SYMBOL_GPL(exit_idle); /* * Return saved PC of a blocked thread. diff --git a/arch/x86/kernel/process_64.c b/arch/x86/kernel/process_64.c index e0361a0c8c4..fbde94f1447 100644 --- a/arch/x86/kernel/process_64.c +++ b/arch/x86/kernel/process_64.c @@ -71,6 +71,7 @@ void enter_idle(void) trace_pm_idle_entry(); notify_idle(IDLE_START); } +EXPORT_SYMBOL_GPL(enter_idle); void __exit_idle(void) { @@ -79,6 +80,7 @@ void __exit_idle(void) notify_idle(IDLE_END); trace_pm_idle_exit(); } +EXPORT_SYMBOL_GPL(__exit_idle); /* Called from interrupts to signify idle end */ void exit_idle(void) @@ -88,6 +90,7 @@ void exit_idle(void) return; __exit_idle(); } +EXPORT_SYMBOL_GPL(exit_idle); #ifndef CONFIG_SMP static inline void play_dead(void) |