summaryrefslogtreecommitdiff
path: root/lib/libthr/arch/mips/include/pthread_md.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libthr/arch/mips/include/pthread_md.h')
-rw-r--r--lib/libthr/arch/mips/include/pthread_md.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libthr/arch/mips/include/pthread_md.h b/lib/libthr/arch/mips/include/pthread_md.h
index 47c178b02a40..d27ecf073056 100644
--- a/lib/libthr/arch/mips/include/pthread_md.h
+++ b/lib/libthr/arch/mips/include/pthread_md.h
@@ -84,7 +84,7 @@ _tcb_get(void)
".set\tmips64r2\n\t"
"rdhwr\t%0, $29\n\t"
".set\tpop"
- : "=v" (_rv));
+ : "=r" (_rv));
/*
* XXXSS See 'git show c6be4f4d2d1b71c04de5d3bbb6933ce2dbcdb317'
@@ -106,7 +106,7 @@ _tcb_get(void)
".set\tmips32r2\n\t"
"rdhwr\t%0, $29\n\t"
".set\tpop"
- : "=v" (_rv));
+ : "=r" (_rv));
/*
* XXXSS See 'git show c6be4f4d2d1b71c04de5d3bbb6933ce2dbcdb317'