Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f26684ad authored by Suren Baghdasaryan's avatar Suren Baghdasaryan Committed by Patrick Daly
Browse files

psi: make psi_enable static



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

Suggested-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarSuren Baghdasaryan <surenb@google.com>
Acked-by: default avatarJohannes Weiner <hannes@cmpxchg.org>
Change-Id: I37cef0577f465834725f6c080732d11c5486efd0
Patch-mainline: linux-mm @ 03/19/2019, 23:56
Signed-off-by: default avatarPatrick Daly <pdaly@codeaurora.org>
parent be807b64
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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)
{