diff options
author | Davidlohr Bueso <dave@stgolabs.net> | 2018-03-26 23:09:25 +0200 |
---|---|---|
committer | Marc Zyngier <marc.zyngier@arm.com> | 2018-03-28 16:24:15 +0200 |
commit | d01d327406d9c36e066181240ac078b636871de8 (patch) | |
tree | e226f56be16c35fe6832a4d3f2a1cf87c1f5275e /drivers/ide/hpt366.c | |
parent | irqchip/gic-v3: Ensure GICR_CTLR.EnableLPI=0 is observed before enabling (diff) | |
download | linux-d01d327406d9c36e066181240ac078b636871de8.tar.xz linux-d01d327406d9c36e066181240ac078b636871de8.zip |
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 'drivers/ide/hpt366.c')
0 files changed, 0 insertions, 0 deletions