summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/libpthread/arch/amd64/uthread_machdep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libpthread/arch/amd64/uthread_machdep.c b/lib/libpthread/arch/amd64/uthread_machdep.c
index aa38151311a..29a8de00718 100644
--- a/lib/libpthread/arch/amd64/uthread_machdep.c
+++ b/lib/libpthread/arch/amd64/uthread_machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uthread_machdep.c,v 1.4 2010/12/31 03:02:45 guenther Exp $ */
+/* $OpenBSD: uthread_machdep.c,v 1.5 2011/01/04 05:34:09 guenther Exp $ */
/*
* Copyright (c) 2004 Theo de Raadt
@@ -53,7 +53,7 @@ struct frame {
};
#define copyreg(reg, lval) \
- __asm__("movl %%" #reg ", %0" : "=g"(lval))
+ __asm__("mov %%" #reg ", %0" : "=g"(lval))
/*
* Given a stack and an entry function, initialise a state