summaryrefslogtreecommitdiffstats
path: root/arch/arm64/mm
diff options
context:
space:
mode:
authorWill Deacon <will.deacon@arm.com>2019-04-03 13:36:54 +0100
committerWill Deacon <will.deacon@arm.com>2019-04-03 13:36:54 +0100
commit7048a5973eb1d6a747b516334c052d92d8ed7ab4 (patch)
tree679fd79e6ee10256e29f6856eeb1408d301596a6 /arch/arm64/mm
parent0f1bf7e39822476b2f921435cf990f67a61f5f92 (diff)
downloadlinux-7048a5973eb1d6a747b516334c052d92d8ed7ab4.tar.gz
linux-7048a5973eb1d6a747b516334c052d92d8ed7ab4.tar.bz2
linux-7048a5973eb1d6a747b516334c052d92d8ed7ab4.zip
arm64: mm: Make show_pte() a static function
show_pte() doesn't have any external callers, so make it static. Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'arch/arm64/mm')
-rw-r--r--arch/arm64/mm/fault.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm64/mm/fault.c b/arch/arm64/mm/fault.c
index 1a7e92ab69eb..4f343e603925 100644
--- a/arch/arm64/mm/fault.c
+++ b/arch/arm64/mm/fault.c
@@ -148,7 +148,7 @@ static inline bool is_ttbr1_addr(unsigned long addr)
/*
* Dump out the page tables associated with 'addr' in the currently active mm.
*/
-void show_pte(unsigned long addr)
+static void show_pte(unsigned long addr)
{
struct mm_struct *mm;
pgd_t *pgdp;