summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorLen Brown <len.brown@intel.com>2008-10-22 23:28:36 -0400
committerLen Brown <len.brown@intel.com>2008-10-22 23:28:36 -0400
commit530bc23bfeaa9156003afbeb9708fd03a5f1c73c (patch)
tree19f9a50f337fe3ee2d57a63ca6d7739a2fdbc3d2 /arch
parentead90393438e0100763c6afd58eaae6a8418c6df (diff)
parent27471fdb32e77ecb92f09d4ac5757785b4dc33bc (diff)
Merge branch 'i7300_idle' into test
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/Kconfig2
-rw-r--r--arch/x86/kernel/process_64.c7
2 files changed, 9 insertions, 0 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index f8caf040650..540a7824203 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -1539,6 +1539,8 @@ source "arch/x86/kernel/cpu/cpufreq/Kconfig"
source "drivers/cpuidle/Kconfig"
+source "drivers/idle/Kconfig"
+
endmenu
diff --git a/arch/x86/kernel/process_64.c b/arch/x86/kernel/process_64.c
index e12e0e4dd25..3e3d503eadc 100644
--- a/arch/x86/kernel/process_64.c
+++ b/arch/x86/kernel/process_64.c
@@ -62,6 +62,13 @@ void idle_notifier_register(struct notifier_block *n)
{
atomic_notifier_chain_register(&idle_notifier, n);
}
+EXPORT_SYMBOL_GPL(idle_notifier_register);
+
+void idle_notifier_unregister(struct notifier_block *n)
+{
+ atomic_notifier_chain_unregister(&idle_notifier, n);
+}
+EXPORT_SYMBOL_GPL(idle_notifier_unregister);
void enter_idle(void)
{