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
140DEFINE_STATIC_KEY_FALSE(psi_disabled);140DEFINE_STATIC_KEY_FALSE(psi_disabled);
141 141
142#ifdef CONFIG_PSI_DEFAULT_DISABLED142#ifdef CONFIG_PSI_DEFAULT_DISABLED
143bool psi_enable;143static bool psi_enable;
144#else144#else
145bool psi_enable = true;145static bool psi_enable = true;
146#endif146#endif
147static int __init setup_psi(char *str)147static int __init setup_psi(char *str)
148{148{

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