arm64: Make the user fault reporting more specific
authorCatalin Marinas <catalin.marinas@arm.com>
Wed, 24 Oct 2012 15:34:02 +0000 (16:34 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Wed, 14 Nov 2012 09:54:15 +0000 (09:54 +0000)
commit3495386b107510ba7014f42da37034648c1d2cfd
tree99529d66242420c3094b9de52fc8ffefd792681e
parent77b67063bb6bce6d475e910d3b886a606d0d91f7
arm64: Make the user fault reporting more specific

For user space faults the kernel reports "unhandled page fault" and it
gives the ESR value. With this patch the error message looked up in the
fault info array to give a better description.

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