From: Catalin Marinas Date: Mon, 16 Sep 2013 14:18:28 +0000 (+0100) Subject: arm64: Make do_bad_area() function static X-Git-Tag: accepted/tizen/common/20141203.182822~1348^2~9 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=59f67e16e6b79697241c3fd030e3da300377893e;p=platform%2Fkernel%2Flinux-arm64.git arm64: Make do_bad_area() function static This function is only called from arch/arm64/mm/fault.c. Signed-off-by: Catalin Marinas --- diff --git a/arch/arm64/mm/fault.c b/arch/arm64/mm/fault.c index 6d6acf1..c23751b 100644 --- a/arch/arm64/mm/fault.c +++ b/arch/arm64/mm/fault.c @@ -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;