Skip to content

Commit 8edd2c8

Browse files
authored
Merge pull request #4123 from kawashima-fj/pr/v2.x/cma-macro
v2.x: CMA: Fixing logic for CMA system call detection
2 parents ae6238c + 4e0c15c commit 8edd2c8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

opal/mca/btl/sm/btl_sm.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
* Copyright (c) 2013-2015 Intel, Inc. All rights reserved.
2020
* Copyright (c) 2014-2015 Research Organization for Information Science
2121
* and Technology (RIST). All rights reserved.
22+
* Copyright (c) 2016 ARM, Inc. All rights reserved.
2223
* $COPYRIGHT$
2324
*
2425
* Additional copyrights may follow
@@ -41,7 +42,7 @@
4142
#include <sys/mman.h>
4243
#endif /* HAVE_SYS_MMAN_H */
4344

44-
#if OPAL_BTL_SM_HAVE_CMA && defined(OPAL_CMA_NEED_SYSCALL_DEFS)
45+
#if OPAL_BTL_SM_HAVE_CMA && OPAL_CMA_NEED_SYSCALL_DEFS
4546
#include "opal/sys/cma.h"
4647
#endif /* OPAL_CMA_NEED_SYSCALL_DEFS */
4748

0 commit comments

Comments
 (0)