ARM: 6505/1: kprobes: Don't HAVE_KPROBES when CONFIG_THUMB2_KERNEL is selected
authorDave Martin <dave.martin@linaro.org>
Mon, 29 Nov 2010 18:43:29 +0000 (19:43 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 30 Nov 2010 13:44:28 +0000 (13:44 +0000)
commited7c84d54837b182c5f56f821ef213c8ca817a91
treeb740f2e5482a40105e9b8649d4743c040aa5ae23
parent618d9c8f9e554b5eaaca3f8e55a28e1a928a8571
ARM: 6505/1: kprobes: Don't HAVE_KPROBES when CONFIG_THUMB2_KERNEL is selected

Currently, the kprobes implementation for ARM only supports the ARM
instruction set, so it only works if CONFIG_THUMB2_KERNEL is not
enabled.

Until kprobes is updated to work with Thumb-2, turning it on will
cause horrible things to happen, so this patch disables it for now.

Signed-off-by: Dave Martin <dave.martin@linaro.org>
Acked-by: Nicolas Pitre <nicolas.pitre@linaro.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/Kconfig