diff options
author | Davidlohr Bueso <dave@stgolabs.net> | 2018-03-26 14:09:25 -0700 |
---|---|---|
committer | Marc Zyngier <marc.zyngier@arm.com> | 2018-03-28 15:24:15 +0100 |
commit | d01d327406d9c36e066181240ac078b636871de8 (patch) | |
tree | e226f56be16c35fe6832a4d3f2a1cf87c1f5275e /kernel | |
parent | 6eb486b66a3094cdcd68dc39c9df3a29d6a51dd5 (diff) |
irqchip/gic: Update supports_deactivate static key to modern api
No changes in semantics -- key init is true; replace
static_key_slow_dec with static_branch_disable
static_key_true with static_branch_likely
The first is because we never actually do any couterpart incs,
thus there is really no reference counting semantics going on.
Use the more proper static_branch_disable() construct.
Also added a '_key' suffix to supports_deactivate, for better
self documentation.
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Jason Cooper <jason@lakedaemon.net>
Signed-off-by: Davidlohr Bueso <dbueso@suse.de>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions