Message ID | 93599efb6ea546370dd470a31f8e8cf97764a31e.1549299188.git.robin.murphy@arm.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | Fix Arm system PMU hotplug issues | expand |
diff --git a/include/linux/cpuhotplug.h b/include/linux/cpuhotplug.h index fd586d0301e7..1d6231fe1590 100644 --- a/include/linux/cpuhotplug.h +++ b/include/linux/cpuhotplug.h @@ -290,6 +290,12 @@ static inline int cpuhp_state_add_instance(enum cpuhp_state state, return __cpuhp_state_add_instance(state, node, true); } +static inline int cpuhp_state_add_instance_cpuslocked(enum cpuhp_state state, + struct hlist_node *node) +{ + return __cpuhp_state_add_instance_cpuslocked(state, node, true); +} + /** * cpuhp_state_add_instance_nocalls - Add an instance for a state without * invoking the startup callback.
A helper already exists for nearly every combination of parameters, except of course the one that I now need. Signed-off-by: Robin Murphy <robin.murphy@arm.com> --- include/linux/cpuhotplug.h | 6 ++++++ 1 file changed, 6 insertions(+)