clocksource/arm_arch_timer: Use static_branch_enable_cpuslocked()
authorMarc Zyngier <[email protected]>
Tue, 1 Aug 2017 08:02:57 +0000 (09:02 +0100)
committerIngo Molnar <[email protected]>
Thu, 10 Aug 2017 10:29:00 +0000 (12:29 +0200)
commit450f9689f294c331c56ec37d68302ccc19c7caa2
tree44c24dfc4959328092637722e4d365288ebe4dec
parent5a40527f8f0798553764fc8db4111d7d9c33ea51
clocksource/arm_arch_timer: Use static_branch_enable_cpuslocked()

Use the new static_branch_enable_cpuslocked() function to switch
the workaround static key on the CPU hotplug path.

Signed-off-by: Marc Zyngier <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Cc: Leo Yan <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
drivers/clocksource/arm_arch_timer.c