aboutsummaryrefslogtreecommitdiff
path: root/sys/amd64/amd64/support.S
diff options
context:
space:
mode:
authorMark Johnston <markj@FreeBSD.org>2018-09-21 20:20:03 +0000
committerMark Johnston <markj@FreeBSD.org>2018-09-21 20:20:03 +0000
commit6cdde6fda2805b6003dd4d2b79ffb92151421455 (patch)
treeb3782131f830bda5ca07839e9de694e80f42ca0c /sys/amd64/amd64/support.S
parentd995b5b1ea85a0a584a258a75aae47f220d6a4cd (diff)
downloadsrc-6cdde6fda2805b6003dd4d2b79ffb92151421455.tar.gz
src-6cdde6fda2805b6003dd4d2b79ffb92151421455.zip
Use the GNU as-compatible .endm instead of .endmacro.
Approved by: re (gjb)
Notes
Notes: svn path=/head/; revision=338863
Diffstat (limited to 'sys/amd64/amd64/support.S')
-rw-r--r--sys/amd64/amd64/support.S8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/amd64/amd64/support.S b/sys/amd64/amd64/support.S
index ee4c6ee3dd5d..7d580b67656a 100644
--- a/sys/amd64/amd64/support.S
+++ b/sys/amd64/amd64/support.S
@@ -294,14 +294,14 @@ END(fillw)
.if \smap
stac
.endif
-.endmacro
+.endm
.macro SMAP_ENABLE smap
.if \smap
clac
.endif
-.endmacro
+.endm
/*
* copyout(from_kernel, to_user, len)
@@ -367,7 +367,7 @@ END(fillw)
movq %rax,PCB_ONFAULT(%r9)
POP_FRAME_POINTER
ret
-.endmacro
+.endm
ENTRY(copyout_nosmap_std)
COPYOUT smap=0 erms=0
@@ -436,7 +436,7 @@ END(copyout_smap_erms)
movq %rax,PCB_ONFAULT(%r9)
POP_FRAME_POINTER
ret
-.endmacro
+.endm
ENTRY(copyin_nosmap_std)
COPYIN smap=0 erms=0