aboutsummaryrefslogtreecommitdiffstats
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 f8caf040650e..540a78242034 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -1539,6 +1539,8 @@ source "arch/x86/kernel/cpu/cpufreq/Kconfig"
1539 1539
1540source "drivers/cpuidle/Kconfig" 1540source "drivers/cpuidle/Kconfig"
1541 1541
1542source "drivers/idle/Kconfig"
1543
1542endmenu 1544endmenu
1543 1545
1544 1546
diff --git a/arch/x86/kernel/process_64.c b/arch/x86/kernel/process_64.c
index e12e0e4dd256..3e3d503eadcf 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)
62{ 62{
63 atomic_notifier_chain_register(&idle_notifier, n); 63 atomic_notifier_chain_register(&idle_notifier, n);
64} 64}
65EXPORT_SYMBOL_GPL(idle_notifier_register);
66
67void idle_notifier_unregister(struct notifier_block *n)
68{
69 atomic_notifier_chain_unregister(&idle_notifier, n);
70}
71EXPORT_SYMBOL_GPL(idle_notifier_unregister);
65 72
66void enter_idle(void) 73void enter_idle(void)
67{ 74{