This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH 2/4, libitm, alpha]: Change gtm_futex_{wait,wake} to int
- From: Uros Bizjak <ubizjak at gmail dot com>
- To: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Cc: Richard Henderson <rth at redhat dot com>
- Date: Wed, 27 May 2015 23:26:11 +0200
- Subject: [PATCH 2/4, libitm, alpha]: Change gtm_futex_{wait,wake} to int
- Authentication-results: sourceware.org; auth=none
2015-05-27 Uros Bizjak <ubizjak@gmail.com>
* config/linux/alpha/futex_bits.h (sys_futex0) Change operands
"op" and "val" to int.
Tested on alphaev68-linux-gnu.
OK for mainline?
Uros.
Index: config/linux/alpha/futex_bits.h
===================================================================
--- config/linux/alpha/futex_bits.h (revision 223771)
+++ config/linux/alpha/futex_bits.h (working copy)
@@ -29,7 +29,7 @@
#endif
static inline long
-sys_futex0 (std::atomic<int> *addr, long op, long val)
+sys_futex0 (std::atomic<int> *addr, int op, int val)
{
register long sc_0 __asm__("$0");
register long sc_16 __asm__("$16");