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

Commit 7048a597 authored by Will Deacon's avatar Will Deacon
Browse files

arm64: mm: Make show_pte() a static function



show_pte() doesn't have any external callers, so make it static.

Signed-off-by: default avatarWill Deacon <will.deacon@arm.com>
parent 0f1bf7e3
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -41,7 +41,6 @@ void hook_debug_fault_code(int nr, int (*fn)(unsigned long, unsigned int,
			   int sig, int code, const char *name);

struct mm_struct;
extern void show_pte(unsigned long addr);
extern void __show_regs(struct pt_regs *);

extern void (*arm_pm_restart)(enum reboot_mode reboot_mode, const char *cmd);
+1 −1
Original line number Diff line number Diff line
@@ -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;