This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH 2/4, libitm, alpha]: Change gtm_futex_{wait,wake} to int


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");


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]