summaryrefslogtreecommitdiffstats
path: root/sys/libkern
diff options
context:
space:
mode:
authorcognet <cognet@FreeBSD.org>2007-10-13 12:05:36 +0000
committercognet <cognet@FreeBSD.org>2007-10-13 12:05:36 +0000
commit746a165a980ad41dc063edac7f0b9495c241313f (patch)
tree98ee27b1fb43a30f6cf2e5459988cfe7569bff33 /sys/libkern
parent23ec7d7ba3867330368e279e88d10299011e2f8a (diff)
downloadFreeBSD-src-746a165a980ad41dc063edac7f0b9495c241313f.zip
FreeBSD-src-746a165a980ad41dc063edac7f0b9495c241313f.tar.gz
Do not use __XSCALE__ to detect if clz is available, use _ARM_ARCH_5 instead.
MFC After: 3 days
Diffstat (limited to 'sys/libkern')
-rw-r--r--sys/libkern/arm/ffs.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/libkern/arm/ffs.S b/sys/libkern/arm/ffs.S
index 933b91f..ba0af49 100644
--- a/sys/libkern/arm/ffs.S
+++ b/sys/libkern/arm/ffs.S
@@ -50,7 +50,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
OpenPOWER on IntegriCloud