Skip to content

Commit 340152a

Browse files
committed
Merge pull request #1720 from shamisp/topic/vader/max_addr
VADER: Adjusting VADER_MAX_ADDRESS for non x86 platforms.
2 parents 17202e5 + 60fd25f commit 340152a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

opal/mca/btl/vader/btl_vader_xpmem.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
/*
33
* Copyright (c) 2013-2014 Los Alamos National Security, LLC. All rights
44
* reserved.
5+
* Copyright (c) 2016 ARM, Inc. All rights reserved.
56
* $COPYRIGHT$
67
*
78
* Additional copyrights may follow
@@ -32,7 +33,12 @@
3233
* necessary */
3334

3435
/* largest address we can attach to using xpmem */
36+
#if defined(__x86_64__)
3537
#define VADER_MAX_ADDRESS ((uintptr_t)0x7ffffffff000ul)
38+
#else
39+
#define VADER_MAX_ADDRESS XPMEM_MAXADDR_SIZE
40+
#endif
41+
3642

3743
int mca_btl_vader_xpmem_init (void);
3844

0 commit comments

Comments
 (0)