]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: 8807/1: mm: Facilitate debugging CONFIG_KUSER_HELPERS disabled
authorFlorian Fainelli <f.fainelli@gmail.com>
Wed, 31 Oct 2018 22:53:12 +0000 (23:53 +0100)
committerRussell King <rmk+kernel@armlinux.org.uk>
Thu, 8 Nov 2018 10:57:10 +0000 (10:57 +0000)
commitcb6b79a615ec5e37b8068a5d6970680e97cf3d8a
tree4eb7aece8cf489a913ed965c40cdfa95eee630a5
parent71eb8f4fcb57a5d514b963a7c3b85782aec07b5c
ARM: 8807/1: mm: Facilitate debugging CONFIG_KUSER_HELPERS disabled

Some software such as perf makes unconditional use of the special
[vectors] page which is only provided when CONFIG_KUSER_HELPERS is
enabled in the kernel.

Facilitate the debugging of such situations by printing a debug message
to the kernel log showing the task name and the faulting address.

Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Suggested-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
arch/arm/mm/fault.c