Skip to content

Commit

Permalink
Fixes opal_atomic_ll_64. Thanks to Paul Hardgrove for
Browse files Browse the repository at this point in the history
the report and his patch.

This is an addition to open-mpi#1140 and should go in 2.x
  • Loading branch information
bosilca committed Aug 27, 2016
1 parent d33204b commit a6d515b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion opal/include/opal/sys/powerpc/atomic.h
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ static inline int64_t opal_atomic_ll_64(volatile int64_t *addr)
__asm__ __volatile__ ("ldarx %0, 0, %1 \n\t"
: "=&r" (ret)
: "r" (addr)
:);
);
return ret;
}

Expand Down

0 comments on commit a6d515b

Please sign in to comment.