diff options
author | Srivatsa S. Bhat <[email protected]> | 2013-06-12 14:04:36 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2013-06-12 16:29:44 -0700 |
commit | 16e53dbf10a2d7e228709a7286310e629ede5e45 (patch) | |
tree | 4b606e077ba322764c584493243bbede219f737f /lib/mpi/mpi-cmp.c | |
parent | 77293e215edef7871a39de4b326f777bc39278ca (diff) |
CPU hotplug: provide a generic helper to disable/enable CPU hotplug
There are instances in the kernel where we would like to disable CPU
hotplug (from sysfs) during some important operation. Today the freezer
code depends on this and the code to do it was kinda tailor-made for
that.
Restructure the code and make it generic enough to be useful for other
usecases too.
Signed-off-by: Srivatsa S. Bhat <[email protected]>
Signed-off-by: Robin Holt <[email protected]>
Cc: H. Peter Anvin <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Russ Anderson <[email protected]>
Cc: Robin Holt <[email protected]>
Cc: Russell King <[email protected]>
Cc: Guan Xuetao <[email protected]>
Cc: Shawn Guo <[email protected]>
Cc: <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions