Commit 9289c5e6 authored by Suren Baghdasaryan's avatar Suren Baghdasaryan Committed by Linus Torvalds

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.comSigned-off-by: default avatarSuren Baghdasaryan <surenb@google.com>
Suggested-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Acked-by: default avatarJohannes Weiner <hannes@cmpxchg.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 33b2d630
...@@ -140,9 +140,9 @@ static int psi_bug __read_mostly; ...@@ -140,9 +140,9 @@ static int psi_bug __read_mostly;
DEFINE_STATIC_KEY_FALSE(psi_disabled); DEFINE_STATIC_KEY_FALSE(psi_disabled);
#ifdef CONFIG_PSI_DEFAULT_DISABLED #ifdef CONFIG_PSI_DEFAULT_DISABLED
bool psi_enable; static bool psi_enable;
#else #else
bool psi_enable = true; static bool psi_enable = true;
#endif #endif
static int __init setup_psi(char *str) static int __init setup_psi(char *str)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment