summaryrefslogtreecommitdiffstats
path: root/sys/amd64/include/asmacros.h
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2003-11-21 03:02:00 +0000
committerpeter <peter@FreeBSD.org>2003-11-21 03:02:00 +0000
commitaefda7ad568c8310cab954248c6703f913ae46f8 (patch)
tree779c5488e9da51760220a217de1843de9e844d6c /sys/amd64/include/asmacros.h
parent8bb74c49aa521edbbb542e8e7c613a47c82a2007 (diff)
downloadFreeBSD-src-aefda7ad568c8310cab954248c6703f913ae46f8.zip
FreeBSD-src-aefda7ad568c8310cab954248c6703f913ae46f8.tar.gz
Cosmetic and/or trivial sync up with i386.
Approved by: re (rwatson)
Diffstat (limited to 'sys/amd64/include/asmacros.h')
-rw-r--r--sys/amd64/include/asmacros.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/amd64/include/asmacros.h b/sys/amd64/include/asmacros.h
index 404287e..011a01a 100644
--- a/sys/amd64/include/asmacros.h
+++ b/sys/amd64/include/asmacros.h
@@ -115,7 +115,7 @@
#define CROSSJUMPTARGET(label) \
ALIGN_TEXT; __CONCAT(to,label): ; MCOUNT; jmp label
#define ENTRY(name) GEN_ENTRY(name) ; 9: ; MCOUNT
-#define FAKE_MCOUNT(caller) pushq caller ; call __mcount ; popl %ecx
+#define FAKE_MCOUNT(caller) pushq caller ; call __mcount ; popq %rcx
#define MCOUNT call __mcount
#define MCOUNT_LABEL(name) GEN_ENTRY(name) ; nop ; ALIGN_TEXT
#define MEXITCOUNT call HIDENAME(mexitcount)
OpenPOWER on IntegriCloud