summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorHongyan Xia <hongyan.xia@transsion.com>2026-08-19 08:12:09 +0000
committerPeter Zijlstra <peterz@infradead.org>2026-09-02 10:28:24 +0200
commita5576ebce9201e2abc820348a494e666de8efe64 (patch)
treeae81c1952e08bb0e2230d805a8ca649837434315 /drivers
parent9650ce11f2e377310332d87a902dc4df3f59b905 (diff)
downloadlinux-next-a5576ebce9201e2abc820348a494e666de8efe64.tar.gz
linux-next-a5576ebce9201e2abc820348a494e666de8efe64.zip
sched: Convert paravirt_steal to new static key APIs
paravirt_steal_rq_enabled and paravirt_steal_enabled use raw static_key APIs which are now deprecated. Use the new API instead. No functional change. Signed-off-by: Hongyan Xia <hongyan.xia@transsion.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Acked-by: Juergen Gross <jgross@suse.com> Link: https://patch.msgid.link/20260819081207.12150-1-hongyan.xia@transsion.com
Diffstat (limited to 'drivers')
-rw-r--r--drivers/xen/time.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/xen/time.c b/drivers/xen/time.c
index a2be0a4d45b0..a02d48a2aa68 100644
--- a/drivers/xen/time.c
+++ b/drivers/xen/time.c
@@ -169,7 +169,7 @@ void __init xen_time_setup_guest(void)
static_call_update(pv_steal_clock, xen_steal_clock);
- static_key_slow_inc(&paravirt_steal_enabled);
+ static_branch_inc(&paravirt_steal_enabled);
if (xen_runstate_remote)
- static_key_slow_inc(&paravirt_steal_rq_enabled);
+ static_branch_inc(&paravirt_steal_rq_enabled);
}