1
1

oshmem: use correct define name

fixed by Roman, reviewed by Mike

cmr=v1.8.1:reviewer=ompi-rm1.8

This commit was SVN r31306.
This commit is contained in:
Mike Dubman 2014-04-02 17:57:37 +00:00
parent 9112977d86
commit 1e37dcf976

View File

@ -90,7 +90,7 @@ static inline int test_bit(int nr, const volatile void * addr)
static inline __opal_attribute_always_inline__ unsigned long __ffs(unsigned long word)
{
int num = 0;
#if __SIZEOF_LONG__ == 8
#if SIZEOF_LONG == 8
if ((word & 0xffffffff) == 0) {
num += 32;
word >>= 32;