From: Catalin Marinas Date: Mon, 16 Sep 2013 14:18:28 +0000 (+0100) Subject: arm64: Make do_bad_area() function static X-Git-Tag: MMI-PSA29.97-13-9~13506^2~9 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=59f67e16e6b79697241c3fd030e3da300377893e;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.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 6d6acf153bff..c23751b06120 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;