]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - mm/swap.c
asus-laptop: add light sensor support
[linux-2.6-omap-h63xx.git] / mm / swap.c
index 017e72ca9bbb6464bf6fd502da7c8ed4f30d9169..2ed7be39795e3034986988502b75982698a1febb 100644 (file)
--- a/mm/swap.c
+++ b/mm/swap.c
@@ -514,5 +514,7 @@ void __init swap_setup(void)
         * Right now other parts of the system means that we
         * _really_ don't want to cluster much more
         */
+#ifdef CONFIG_HOTPLUG_CPU
        hotcpu_notifier(cpu_swap_callback, 0);
+#endif
 }