aboutsummaryrefslogtreecommitdiff
path: root/sys/libkern
diff options
context:
space:
mode:
authorAndrew Turner <andrew@FreeBSD.org>2014-12-05 19:08:36 +0000
committerAndrew Turner <andrew@FreeBSD.org>2014-12-05 19:08:36 +0000
commit524bca9008704746d3d4e8f0a7cdef2e60e009c3 (patch)
treef63e10f4e93c5aa5fc7052a88436ece8efaa3cba /sys/libkern
parentff9dd44ead72dda3993caae5e2eb8bf426941e83 (diff)
downloadsrc-524bca9008704746d3d4e8f0a7cdef2e60e009c3.tar.gz
src-524bca9008704746d3d4e8f0a7cdef2e60e009c3.zip
Use the unified syntax in a few more assembly files
MFC after: 1 week Sponsored by: ABT Systems Ltd
Notes
Notes: svn path=/head/; revision=275520
Diffstat (limited to 'sys/libkern')
-rw-r--r--sys/libkern/arm/ffs.S3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/libkern/arm/ffs.S b/sys/libkern/arm/ffs.S
index a43f2b6712b1..1ddec95de0b1 100644
--- a/sys/libkern/arm/ffs.S
+++ b/sys/libkern/arm/ffs.S
@@ -31,6 +31,7 @@
#include <machine/asm.h>
__FBSDID("$FreeBSD$");
+ .syntax unified
/*
* ffs - find first set bit, this algorithm isolates the first set
@@ -62,7 +63,7 @@ ENTRY(ffs)
rsbne r0, r0, r0, lsl #16 /* r0 = X * 0x0450fbaf */
/* now lookup in table indexed on top 6 bits of r0 */
- ldrneb r0, [ r2, r0, lsr #26 ]
+ ldrbne r0, [ r2, r0, lsr #26 ]
RET
.text;