Messages in this thread | | | From | Davidlohr Bueso <> | Subject | [PATCH v2 -next 0/6] update static key users to modern api | Date | Mon, 26 Mar 2018 14:09:23 -0700 |
| |
Changes from v1: - added the 'static' keyword where it belongs. - added networking and x86-perf patches. Unlike the first three, these these use the global/extern variants.
Hi,
I noticed a few users in the kernel calling stale static key api. Patches are straightforward; note that the irqchip was also changed to not use refcounting functions as it only 'disables' the feature.
Applies on today's -next. Compile-tested.
Thanks!
Davidlohr Bueso (6): drivers/i2c: Update i2c_trace_msg static key to modern api drivers/irqchip: Update supports_deactivate static key to modern api sched/core: Update preempt_notifier_key to modern api perf,x86: Update rdpmc_always_available static key to modern api net/ipv4: Update ip_tunnel_metadata_cnt static key to modern api net/sock: Update memalloc_socks static key to modern api
arch/x86/events/core.c | 6 +++--- arch/x86/include/asm/mmu_context.h | 5 +++-- drivers/i2c/i2c-core-base.c | 13 +++++++------ drivers/irqchip/irq-gic-v3.c | 20 ++++++++++---------- drivers/irqchip/irq-gic.c | 22 +++++++++++----------- include/net/ip_tunnels.h | 4 ++-- include/net/sock.h | 4 ++-- kernel/sched/core.c | 12 ++++++------ net/core/sock.c | 8 ++++---- net/ipv4/ip_tunnel_core.c | 6 +++--- 10 files changed, 51 insertions(+), 49 deletions(-)
-- 2.13.6
| |