Skip to content

Commit f708674

Browse files
committed
OSHMEM/MMAP/SYSV: Return ERR_NOT_IMPLEMENTED if segment hint != 0
Signed-off-by: Yossi Itigin <[email protected]>
1 parent fe5ad67 commit f708674

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

oshmem/mca/sshmem/mmap/sshmem_mmap_module.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,10 @@ segment_create(map_segment_t *ds_buf,
119119

120120
assert(ds_buf);
121121

122+
if (hint) {
123+
return OSHMEM_ERR_NOT_IMPLEMENTED;
124+
}
125+
122126
/* init the contents of map_segment_t */
123127
shmem_ds_reset(ds_buf);
124128

oshmem/mca/sshmem/sysv/sshmem_sysv_module.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,10 @@ segment_create(map_segment_t *ds_buf,
120120

121121
assert(ds_buf);
122122

123+
if (hint) {
124+
return OSHMEM_ERR_NOT_IMPLEMENTED;
125+
}
126+
123127
/* init the contents of map_segment_t */
124128
shmem_ds_reset(ds_buf);
125129

0 commit comments

Comments
 (0)