From: Markos Chandras Date: Wed, 21 Jan 2015 10:54:46 +0000 (+0000) Subject: MIPS: mm: Add debug information for userland SIGSEGV signals. X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~5^2~36 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d79d853df126553f9a185151e310f6dc74205ae5;p=pandora-kernel.git MIPS: mm: Add debug information for userland SIGSEGV signals. Commit 41c594ab65fc ("[MIPS] MT: Improved multithreading support.") removed useful debug information for userland segmentation faults. This patch bring this back along with the ability to determine the name of the object file where the EPC and RA registers point at. Furthermore, we select the SYSCTL_EXCEPTION_TRACE symbol for MIPS which is the de facto solution to turn userland exception logging on and off via the /proc/sys/debug/exception-trace file. Signed-off-by: Markos Chandras Cc: James Hogan Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/9089/ Signed-off-by: Ralf Baechle --- Reading git-diff-tree failed