Re: [PATCH 4/4] ARM: kprobes: make more tests conditional

2012-08-22 Thread Nicolas Pitre
On Wed, 22 Aug 2012, Arnd Bergmann wrote: > On Wednesday 22 August 2012, Nicolas Pitre wrote: > > On Wed, 22 Aug 2012, Arnd Bergmann wrote: > > > > > The mls instruction is not available in ARMv6K or below, so we > > > should make the test conditional on at least ARMv7. ldrex/strex > > > are avai

Re: [PATCH 4/4] ARM: kprobes: make more tests conditional

2012-08-22 Thread Arnd Bergmann
On Wednesday 22 August 2012, Nicolas Pitre wrote: > On Wed, 22 Aug 2012, Arnd Bergmann wrote: > > > The mls instruction is not available in ARMv6K or below, so we > > should make the test conditional on at least ARMv7. ldrex/strex > > are available in ARMv6K or ARMv7, which we can test by checking

Re: [PATCH 4/4] ARM: kprobes: make more tests conditional

2012-08-22 Thread Nicolas Pitre
On Wed, 22 Aug 2012, Arnd Bergmann wrote: > The mls instruction is not available in ARMv6K or below, so we > should make the test conditional on at least ARMv7. ldrex/strex > are available in ARMv6K or ARMv7, which we can test by checking > the CONFIG_CPU_32v6K symbol. Just testing for ARMv6 is no