projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] uml: locking commentary in the random driver
[firefly-linux-kernel-4.4.55.git]
/
mm
/
swap.c
diff --git
a/mm/swap.c
b/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
}