History

psi: make psi_enable static

psi_enable is not used outside of psi.c, make it static.

Suren Baghdasaryan committed 7 years ago

Commit 9289c5e1 parent 33b2d631 file · +2 −2Browse files

Unified · Split

kernel/sched/psi.c+2−2
@@ -140,9 +140,9 @@ static int psi_bug __read_mostly; · 139 unmodified lines
140140 DEFINE_STATIC_KEY_FALSE(psi_disabled);
141141
142142 #ifdef CONFIG_PSI_DEFAULT_DISABLED
143−bool psi_enable;
143+static bool psi_enable;
144144 #else
145−bool psi_enable = true;
145+static bool psi_enable = true;
146146 #endif
147147 static int __init setup_psi(char *str)
148148 {

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t