Remove the use of __cpu_to_be64() and replace it with hton64().
This commit was SVN r18995.
Этот коммит содержится в:
родитель
5f021e47a9
Коммит
5b9219565c
@ -172,7 +172,7 @@ AC_DEFUN([OMPI_CHECK_OPENIB],[
|
||||
# starting with OFED 1.2 or so, so check for
|
||||
# ib_cm_open_device (introduced in libibcm 1.0/OFED 1.2).
|
||||
if test "$enable_openib_ibcm" = "yes"; then
|
||||
AC_CHECK_HEADERS([infiniband/cm.h asm/byteorder.h],
|
||||
AC_CHECK_HEADERS([infiniband/cm.h],
|
||||
[AC_CHECK_LIB([ibcm], [ib_cm_open_device],
|
||||
[$1_have_ibcm=1
|
||||
$1_LIBS="-libcm $$1_LIBS"])])
|
||||
|
@ -257,7 +257,6 @@
|
||||
#include <sys/types.h>
|
||||
#include <fcntl.h>
|
||||
#include <infiniband/cm.h>
|
||||
#include <asm/byteorder.h>
|
||||
|
||||
#include "opal/util/if.h"
|
||||
#include "opal/util/error.h"
|
||||
@ -631,7 +630,7 @@ static void ibcm_component_register(void)
|
||||
* The value was taken from IBCM kernel level
|
||||
*/
|
||||
#ifndef IB_CM_ASSIGN_SERVICE_ID
|
||||
#define IB_CM_ASSIGN_SERVICE_ID __cpu_to_be64(0x0200000000000000ULL)
|
||||
#define IB_CM_ASSIGN_SERVICE_ID hton64(0x0200000000000000ULL)
|
||||
#endif
|
||||
|
||||
static int ibcm_component_query(mca_btl_openib_module_t *btl,
|
||||
|
Загрузка…
Ссылка в новой задаче
Block a user