summaryrefslogtreecommitdiffstats
path: root/arch/arm64/mm/fault.c
diff options
context:
space:
mode:
authorCatalin Marinas <catalin.marinas@arm.com>2013-09-16 16:18:28 +0200
committerCatalin Marinas <catalin.marinas@arm.com>2013-09-20 10:56:05 +0200
commit59f67e16e6b79697241c3fd030e3da300377893e (patch)
treea28b6a4449cb23f4d97f5e98f99d5ce476051d0d /arch/arm64/mm/fault.c
parentLinux 3.12-rc1 (diff)
downloadlinux-59f67e16e6b79697241c3fd030e3da300377893e.tar.xz
linux-59f67e16e6b79697241c3fd030e3da300377893e.zip
arm64: Make do_bad_area() function static
This function is only called from arch/arm64/mm/fault.c. Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'arch/arm64/mm/fault.c')
-rw-r--r--arch/arm64/mm/fault.c2
1 files changed, 1 insertions, 1 deletions
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;