summaryrefslogtreecommitdiffstats
path: root/lib/libc/arm/string/ffs.S
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/arm/string/ffs.S')
-rw-r--r--lib/libc/arm/string/ffs.S2
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
OpenPOWER on IntegriCloud