aboutsummaryrefslogtreecommitdiff
path: root/sys/i386/include/profile.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/i386/include/profile.h')
-rw-r--r--sys/i386/include/profile.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/i386/include/profile.h b/sys/i386/include/profile.h
index 78b55a4463e1..665d5ab0ce72 100644
--- a/sys/i386/include/profile.h
+++ b/sys/i386/include/profile.h
@@ -64,11 +64,11 @@
__asm __volatile("pushl %0; call __mcount; popl %%ecx" \
: \
: "i" (label) \
- : "ax", "dx", "cx", "memory")
+ : "cx", "memory")
#define MEXITCOUNT_OVERHEAD() \
__asm __volatile("call .mexitcount; 1:" \
: : \
- : "ax", "dx", "cx", "memory")
+ : "cx", "memory")
#define MEXITCOUNT_OVERHEAD_GETLABEL(labelp) \
__asm __volatile("movl $1b,%0" : "=rm" (labelp))
#else