summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/mm/book3s64/hash_native.c
diff options
context:
space:
mode:
authorYueHaibing <yuehaibing@huawei.com>2019-05-04 18:24:27 +0800
committerMichael Ellerman <mpe@ellerman.id.au>2019-05-28 12:08:10 +1000
commitd667edc01bedcd23988ef69f851e7cc26cc3c67f (patch)
tree20915d211426e361ea8103e9dd170b9380e76a32 /arch/powerpc/mm/book3s64/hash_native.c
parentcd6c84d8f0cdc911df435bb075ba22ce3c605b07 (diff)
downloadlinux-stable-d667edc01bedcd23988ef69f851e7cc26cc3c67f.tar.gz
linux-stable-d667edc01bedcd23988ef69f851e7cc26cc3c67f.tar.bz2
linux-stable-d667edc01bedcd23988ef69f851e7cc26cc3c67f.zip
powerpc/mm: Make some symbols static that can be
Noticed by sparse. Signed-off-by: YueHaibing <yuehaibing@huawei.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/mm/book3s64/hash_native.c')
-rw-r--r--arch/powerpc/mm/book3s64/hash_native.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/mm/book3s64/hash_native.c b/arch/powerpc/mm/book3s64/hash_native.c
index aaa28fd918fe..47caecdbbbac 100644
--- a/arch/powerpc/mm/book3s64/hash_native.c
+++ b/arch/powerpc/mm/book3s64/hash_native.c
@@ -45,7 +45,7 @@
#define HPTE_LOCK_BIT (56+3)
#endif
-DEFINE_RAW_SPINLOCK(native_tlbie_lock);
+static DEFINE_RAW_SPINLOCK(native_tlbie_lock);
static inline void tlbiel_hash_set_isa206(unsigned int set, unsigned int is)
{