summaryrefslogtreecommitdiffstats
path: root/sys/amd64
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2000-12-01 05:29:21 +0000
committerjhb <jhb@FreeBSD.org>2000-12-01 05:29:21 +0000
commitb90560484ef8b063e65c3acdf352b73587366cac (patch)
treec084f2c40db99927b95af1b11ad79bd85e90a82b /sys/amd64
parent89d31777080c7795612a7238f83ef7b413a4209d (diff)
downloadFreeBSD-src-b90560484ef8b063e65c3acdf352b73587366cac.zip
FreeBSD-src-b90560484ef8b063e65c3acdf352b73587366cac.tar.gz
Fix this slightly better by using NON_GPROF_RET instead of duplicating
hard-coded asm. Suggested by: bde
Diffstat (limited to 'sys/amd64')
-rw-r--r--sys/amd64/amd64/support.S2
-rw-r--r--sys/amd64/amd64/support.s2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/amd64/amd64/support.S b/sys/amd64/amd64/support.S
index 1187c19..cb3a144 100644
--- a/sys/amd64/amd64/support.S
+++ b/sys/amd64/amd64/support.S
@@ -1670,4 +1670,4 @@ NON_GPROF_ENTRY(__bb_init_func)
movl bbhead,%edx
movl %edx,16(%eax)
movl %eax,bbhead
- .byte 0xc3 /* avoid macro for `ret' */
+ NON_GPROF_RET
diff --git a/sys/amd64/amd64/support.s b/sys/amd64/amd64/support.s
index 1187c19..cb3a144 100644
--- a/sys/amd64/amd64/support.s
+++ b/sys/amd64/amd64/support.s
@@ -1670,4 +1670,4 @@ NON_GPROF_ENTRY(__bb_init_func)
movl bbhead,%edx
movl %edx,16(%eax)
movl %eax,bbhead
- .byte 0xc3 /* avoid macro for `ret' */
+ NON_GPROF_RET
OpenPOWER on IntegriCloud