[PATCHv3 4/4] ARM: kprobes: make more tests conditional

From: Arnd Bergmann
Date: Wed Aug 22 2012 - 14:41:36 EST


On Wednesday 22 August 2012, Nicolas Pitre wrote:
> On Wed, 22 Aug 2012, Arnd Bergmann wrote:
> > >
> > > The ldrex/strex instructions are available on ARMv6. It's only the d
> > > variants (strexd/ldrexd) which are only available from ARMv6k.
> >
> > Ok. How is the version below then? I haven't tested this one yet.
>
> In fact, I think the b variants are ARMv6k+ as well. Only the plain
> (non b non d) variants are available on ARMv6.

Ok, third attempt then. This leaves ldrex for ARMv6 but marks
{st,ld}rex{b,h,d} as V6K specific (which includes ARMv7).

Arnd

8<-----