arm64: Do not report user faults for handled signals
authorCatalin Marinas <catalin.marinas@arm.com>
Tue, 21 May 2013 11:16:56 +0000 (12:16 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Fri, 24 May 2013 16:31:04 +0000 (17:31 +0100)
commit953dbbed9ee310100bc841cdea8f992d192531c6
tree057f5909fd8f0153a43087d57fe616ef57734398
parent726dcaa158b316f02f7dec2cf6dbf61c30a8bf22
arm64: Do not report user faults for handled signals

Currently user faults (page, undefined instruction) are always reported
even though the user may have a signal handler for them. This patch adds
unhandled_signal() check together with printk_ratelimit() for these
cases.

Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/kernel/traps.c
arch/arm64/mm/fault.c