diff options
author | Len Brown <len.brown@intel.com> | 2008-10-22 23:28:36 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2008-10-22 23:28:36 -0400 |
commit | 530bc23bfeaa9156003afbeb9708fd03a5f1c73c (patch) | |
tree | 19f9a50f337fe3ee2d57a63ca6d7739a2fdbc3d2 /arch | |
parent | ead90393438e0100763c6afd58eaae6a8418c6df (diff) | |
parent | 27471fdb32e77ecb92f09d4ac5757785b4dc33bc (diff) | |
download | linux-530bc23bfeaa9156003afbeb9708fd03a5f1c73c.tar.bz2 |
Merge branch 'i7300_idle' into test
Diffstat (limited to 'arch')
-rw-r--r-- | arch/x86/Kconfig | 2 | ||||
-rw-r--r-- | arch/x86/kernel/process_64.c | 7 |
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" 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 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) { 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) { |