Skip to content
Commit 93ef1429 authored by Qais Yousef's avatar Qais Yousef Committed by Thomas Gleixner
Browse files

cpu/hotplug: Add new {add,remove}_cpu() functions



The new functions use device_{online,offline}() which are userspace safe.

This is in preparation to move cpu_{up, down} kernel users to use a safer
interface that is not racy with userspace.

Suggested-by: default avatar"Paul E. McKenney" <paulmck@kernel.org>
Signed-off-by: default avatarQais Yousef <qais.yousef@arm.com>
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
Reviewed-by: default avatarPaul E. McKenney <paulmck@kernel.org>
Link: https://lkml.kernel.org/r/20200323135110.30522-2-qais.yousef@arm.com
parent fd3eafda
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment