[PATCH 7/9] x86 idle: do not EXPORT_SYMBOL pm_idle and default_idle

From: Len Brown
Date: Thu Mar 31 2011 - 02:04:41 EST


From: Len Brown <len.brown@xxxxxxxxx>

APM was the only potential modular user of pm_idle,
and default_idle(), and that use is now gone.

Signed-off-by: Len Brown <len.brown@xxxxxxxxx>
---
arch/x86/kernel/process.c | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/arch/x86/kernel/process.c b/arch/x86/kernel/process.c
index 094d4ac..9d485d9 100644
--- a/arch/x86/kernel/process.c
+++ b/arch/x86/kernel/process.c
@@ -340,7 +340,6 @@ EXPORT_SYMBOL(boot_option_idle_override);
* Powermanagement idle function, if any..
*/
void (*pm_idle)(void);
-EXPORT_SYMBOL(pm_idle);

/*
* We use this if we don't have any better
@@ -365,9 +364,6 @@ void default_idle(void)
trace_power_end(smp_processor_id());
trace_cpu_idle(PWR_EVENT_EXIT, smp_processor_id());
}
-#ifdef CONFIG_APM_MODULE
-EXPORT_SYMBOL(default_idle);
-#endif

void stop_this_cpu(void *dummy)
{
--
1.7.4.2.406.gbe91

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/