arm64: Make do_bad_area() function static
authorCatalin Marinas <catalin.marinas@arm.com>
Mon, 16 Sep 2013 14:18:28 +0000 (15:18 +0100)
committerMark Brown <broonie@linaro.org>
Thu, 15 May 2014 19:00:45 +0000 (20:00 +0100)
This function is only called from arch/arm64/mm/fault.c.

Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
(cherry picked from commit 59f67e16e6b79697241c3fd030e3da300377893e)
Signed-off-by: Mark Brown <broonie@linaro.org>
arch/arm64/mm/fault.c

index 6c8ba25bf6bb39eed908ea23edb05c9bb605fed2..df4f2fd187c3bed7b54574fa0ac92e86da3727a7 100644 (file)
@@ -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;