From: sshtylyov@mvista.com (Sergei Shtylyov)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2 9/9] ARM: kprobes: Don't HAVE_KPROBES when CONFIG_THUMB2_KERNEL is selected
Date: Tue, 23 Nov 2010 02:01:53 +0300 [thread overview]
Message-ID: <4CEAF661.3000907@ru.mvista.com> (raw)
In-Reply-To: <1290449065-28843-10-git-send-email-dave.martin@linaro.org>
Hello.
On 22-11-2010 21:04, Dave Martin wrote:
> 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>
[...]
> diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
> index db524e7..f1d9297 100644
> --- a/arch/arm/Kconfig
> +++ b/arch/arm/Kconfig
> @@ -9,7 +9,7 @@ config ARM
> select GENERIC_ATOMIC64 if (!CPU_32v6K || !AEABI)
> select HAVE_OPROFILE if (HAVE_PERF_EVENTS)
> select HAVE_ARCH_KGDB
> - select HAVE_KPROBES if (!XIP_KERNEL)
> + select HAVE_KPROBES if (!XIP_KERNEL && !THUMB2_KERNEL)
These parens are useless.
WBR, Sergei
next prev parent reply other threads:[~2010-11-22 23:01 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-22 18:04 [PATCH v2 0/9] ARM: Thumb-2: Various fixes for building Thumb-2 kernels Dave Martin
2010-11-22 18:04 ` [PATCH v2 1/9] ARM: kexec: Correct data alignment for CONFIG_THUMB2_KERNEL Dave Martin
2010-11-22 18:04 ` [PATCH v2 2/9] ARM: vfp: " Dave Martin
2010-11-22 18:04 ` [PATCH v2 3/9] ARM: Thumb-2: Correct data alignment for CONFIG_THUMB2_KERNEL in bootp/init.S Dave Martin
2010-11-22 18:04 ` [PATCH v2 4/9] ARM: Thumb-2: Correct data alignment for CONFIG_THUMB2_KERNEL in kernel/head.S Dave Martin
2010-11-22 18:04 ` [PATCH v2 5/9] ARM: Thumb-2: Correct data alignment for CONFIG_THUMB2_KERNEL in mm/proc-v7.S Dave Martin
2010-11-22 18:04 ` [PATCH v2 6/9] ARM: Thumb-2: Fix CONFIG_THUMB2_KERNEL breakage in compressed/head.S Dave Martin
2010-11-22 19:06 ` Nicolas Pitre
2010-11-22 18:04 ` [PATCH v2 7/9] ARM: Thumb-2: Restore sensible zImage header layout for CONFIG_THUMB2_KERNEL Dave Martin
2010-11-22 18:28 ` Nicolas Pitre
2010-11-22 18:39 ` Dave Martin
2010-11-22 18:04 ` [PATCH v2 8/9] ARM: Thumb-2: Fix long-distance conditional branches in head.S for Thumb-2 Dave Martin
2010-11-22 19:03 ` Nicolas Pitre
2010-11-22 19:17 ` Russell King - ARM Linux
2010-11-22 19:28 ` Dave Martin
2010-11-23 0:29 ` Nicolas Pitre
2010-11-22 20:24 ` Nicolas Pitre
2010-11-22 23:44 ` Russell King - ARM Linux
2010-11-23 0:26 ` Nicolas Pitre
2010-11-23 8:56 ` Russell King - ARM Linux
2010-11-23 17:56 ` Nicolas Pitre
2010-11-22 18:04 ` [PATCH v2 9/9] ARM: kprobes: Don't HAVE_KPROBES when CONFIG_THUMB2_KERNEL is selected Dave Martin
2010-11-22 18:38 ` Nicolas Pitre
2010-11-22 23:01 ` Sergei Shtylyov [this message]
2010-11-23 10:44 ` Dave Martin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4CEAF661.3000907@ru.mvista.com \
--to=sshtylyov@mvista.com \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.