diff --git a/include/linux/sched.h b/include/linux/sched.h index 4a95575eb508..1fccdb77de1d 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h @@ -1635,7 +1635,7 @@ struct task_struct { }; #ifdef CONFIG_SCHED_PROXY_EXEC -DECLARE_STATIC_KEY_TRUE(__sched_proxy_exec); +DECLARE_STATIC_KEY_FALSE(__sched_proxy_exec); static inline bool sched_proxy_exec(void) { return static_branch_likely(&__sched_proxy_exec); diff --git a/kernel/sched/core.c b/kernel/sched/core.c index 4b9a208ada8b..d1a5b32e500a 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c @@ -127,7 +127,7 @@ DEFINE_PER_CPU_SHARED_ALIGNED(struct rq, runqueues); EXPORT_SYMBOL_GPL(runqueues); #ifdef CONFIG_SCHED_PROXY_EXEC -DEFINE_STATIC_KEY_TRUE(__sched_proxy_exec); +DEFINE_STATIC_KEY_FALSE(__sched_proxy_exec); static int __init setup_proxy_exec(char *str) { bool proxy_enable;