]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
clocksource/arm_arch_timer: Use static_branch_enable_cpuslocked()
authorMarc Zyngier <marc.zyngier@arm.com>
Tue, 1 Aug 2017 08:02:57 +0000 (09:02 +0100)
committerIngo Molnar <mingo@kernel.org>
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 <marc.zyngier@arm.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Leo Yan <leo.yan@linaro.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-arm-kernel@lists.infradead.org
Link: http://lkml.kernel.org/r/20170801080257.5056-5-marc.zyngier@arm.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
drivers/clocksource/arm_arch_timer.c