public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH 3/4, libitm, sh]: Change gtm_futex_{wait,wake} to int
@ 2015-05-27 22:41 Uros Bizjak
  2015-05-28  1:27 ` Kaz Kojima
  0 siblings, 1 reply; 3+ messages in thread
From: Uros Bizjak @ 2015-05-27 22:41 UTC (permalink / raw)
  To: gcc-patches; +Cc: Richard Henderson

2015-05-27  Uros Bizjak  <ubizjak@gmail.com>

    * config/linux/sh/futex_bits.h (sys_futex0) Change operands
    "op" and "val" to int.

Untested.

OK for mainline?

Uros.

Index: config/linux/sh/futex_bits.h
===================================================================
--- config/linux/sh/futex_bits.h        (revision 223771)
+++ config/linux/sh/futex_bits.h        (working copy)
@@ -32,7 +32,7 @@
        trapa #0x14; or r0,r0; or r0,r0; or r0,r0; or r0,r0; or r0,r0"

 static inline long
-sys_futex0 (std::atomic<int> *addr, long op, long val)
+sys_futex0 (std::atomic<int> *addr, int op, int val)
 {
   int __status;
   register long __r3 asm ("r3") = SYS_futex;

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-05-28 17:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-27 22:41 [PATCH 3/4, libitm, sh]: Change gtm_futex_{wait,wake} to int Uros Bizjak
2015-05-28  1:27 ` Kaz Kojima
2015-05-28 18:25   ` Uros Bizjak

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).