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>

authored by Dave Martin and committed by Russell King ed7c84d5 618d9c8f

+1 -1
+1 -1
arch/arm/Kconfig
··· 9 select GENERIC_ATOMIC64 if (!CPU_32v6K || !AEABI) 10 select HAVE_OPROFILE if (HAVE_PERF_EVENTS) 11 select HAVE_ARCH_KGDB 12 - select HAVE_KPROBES if (!XIP_KERNEL) 13 select HAVE_KRETPROBES if (HAVE_KPROBES) 14 select HAVE_FUNCTION_TRACER if (!XIP_KERNEL) 15 select HAVE_FTRACE_MCOUNT_RECORD if (!XIP_KERNEL)
··· 9 select GENERIC_ATOMIC64 if (!CPU_32v6K || !AEABI) 10 select HAVE_OPROFILE if (HAVE_PERF_EVENTS) 11 select HAVE_ARCH_KGDB 12 + select HAVE_KPROBES if (!XIP_KERNEL && !THUMB2_KERNEL) 13 select HAVE_KRETPROBES if (HAVE_KPROBES) 14 select HAVE_FUNCTION_TRACER if (!XIP_KERNEL) 15 select HAVE_FTRACE_MCOUNT_RECORD if (!XIP_KERNEL)