1
0
Fork 0

psi: make psi_enable static

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

Link: http://lkml.kernel.org/r/20190319235619.260832-3-surenb@google.com
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
Suggested-by: Andrew Morton <akpm@linux-foundation.org>
Acked-by: Johannes Weiner <hannes@cmpxchg.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
hifive-unleashed-5.2
Suren Baghdasaryan 2019-05-14 15:40:59 -07:00 committed by Linus Torvalds
parent 33b2d6302a
commit 9289c5e6a7
1 changed files with 2 additions and 2 deletions

View File

@ -140,9 +140,9 @@ static int psi_bug __read_mostly;
DEFINE_STATIC_KEY_FALSE(psi_disabled);
#ifdef CONFIG_PSI_DEFAULT_DISABLED
bool psi_enable;
static bool psi_enable;
#else
bool psi_enable = true;
static bool psi_enable = true;
#endif
static int __init setup_psi(char *str)
{