[PATCH 11/51] ARM: Kconfig: Allow kprobes on Thumb-2 kernels

Sergei Shtylyov sshtylyov at mvista.com
Mon Jul 11 07:01:06 EDT 2011


Hello.

On 09-07-2011 14:56, Tixy wrote:

> From: Jon Medhurst<tixy at yxit.co.uk>

> Signed-off-by: Jon Medhurst<tixy at yxit.co.uk>
> ---
>   arch/arm/Kconfig |    2 +-
>   1 files changed, 1 insertions(+), 1 deletions(-)

> diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
> index 9adc278..b4177c5 100644
> --- a/arch/arm/Kconfig
> +++ b/arch/arm/Kconfig
> @@ -10,7 +10,7 @@ config ARM
>   	select GENERIC_ATOMIC64 if (CPU_V6 || !CPU_32v6K || !AEABI)
>   	select HAVE_OPROFILE if (HAVE_PERF_EVENTS)
>   	select HAVE_ARCH_KGDB
> -	select HAVE_KPROBES if (!XIP_KERNEL&&  !THUMB2_KERNEL)
> +	select HAVE_KPROBES if (!XIP_KERNEL)

    Why not drop useless parens, while at it?

WBR, Sergei



More information about the linux-arm-kernel mailing list