Commit 59f67e16 authored by Catalin Marinas's avatar Catalin Marinas

arm64: Make do_bad_area() function static

This function is only called from arch/arm64/mm/fault.c.
Signed-off-by: default avatarCatalin Marinas <catalin.marinas@arm.com>
parent 272b98c6
......@@ -130,7 +130,7 @@ static void __do_user_fault(struct task_struct *tsk, unsigned long addr,
force_sig_info(sig, &si, tsk);
}
void do_bad_area(unsigned long addr, unsigned int esr, struct pt_regs *regs)
static void do_bad_area(unsigned long addr, unsigned int esr, struct pt_regs *regs)
{
struct task_struct *tsk = current;
struct mm_struct *mm = tsk->active_mm;
......
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