Skip to content

Commit 35cd21f

Browse files
MiaoheLinPeter Zijlstra
authored andcommitted
sched/psi: make psi_cgroups_enabled static
The static key psi_cgroups_enabled is only used inside file psi.c. Make it static. Signed-off-by: Miaohe Lin <[email protected]> Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Reviewed-by: Suren Baghdasaryan <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 548796e commit 35cd21f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kernel/sched/psi.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@
140140
static int psi_bug __read_mostly;
141141

142142
DEFINE_STATIC_KEY_FALSE(psi_disabled);
143-
DEFINE_STATIC_KEY_TRUE(psi_cgroups_enabled);
143+
static DEFINE_STATIC_KEY_TRUE(psi_cgroups_enabled);
144144

145145
#ifdef CONFIG_PSI_DEFAULT_DISABLED
146146
static bool psi_enable;

0 commit comments

Comments
 (0)