diff options
author | cognet <cognet@FreeBSD.org> | 2007-10-13 12:06:31 +0000 |
---|---|---|
committer | cognet <cognet@FreeBSD.org> | 2007-10-13 12:06:31 +0000 |
commit | 270e0a1e333630cb522d30b5876a6c45b6b49902 (patch) | |
tree | 1d0dce94239dc4c00deeb977d02bf49f6b8ef634 /lib/libc/arm/string/ffs.S | |
parent | 746a165a980ad41dc063edac7f0b9495c241313f (diff) | |
download | FreeBSD-src-270e0a1e333630cb522d30b5876a6c45b6b49902.zip FreeBSD-src-270e0a1e333630cb522d30b5876a6c45b6b49902.tar.gz |
MFKernel: do not use __XSCALE__ to detect if clz/pld/ldrd/strd are
available, use _ARM_ARCH_5/_ARM_ARCH_5E instead.
MFC After: 3 days
Diffstat (limited to 'lib/libc/arm/string/ffs.S')
-rw-r--r-- | lib/libc/arm/string/ffs.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/arm/string/ffs.S b/lib/libc/arm/string/ffs.S index 223d55d..af4e118 100644 --- a/lib/libc/arm/string/ffs.S +++ b/lib/libc/arm/string/ffs.S @@ -49,7 +49,7 @@ ENTRY(ffs) /* Standard trick to isolate bottom bit in r0 or 0 if r0 = 0 on entry */ rsb r1, r0, #0 ands r0, r0, r1 -#ifndef __XSCALE__ +#ifndef _ARM_ARCH_5 /* * now r0 has at most one set bit, call this X * if X = 0, all further instructions are skipped |