Skip to content

Commit 3339e2a

Browse files
authored
Merge pull request #5986 from jjhursey/vpid-unpack
Add OPAL_VPID to unpacking
2 parents 748d8b6 + a557c41 commit 3339e2a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

opal/dss/dss_load_unload.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
* Copyright (c) 2014-2018 Intel, Inc. All rights reserved.
1313
* Copyright (c) 2015-2017 Research Organization for Information Science
1414
* and Technology (RIST). All rights reserved.
15+
* Copyright (c) 2018 IBM Corporation. All rights reserved.
1516
* $COPYRIGHT$
1617
*
1718
* Additional copyrights may follow
@@ -372,6 +373,10 @@ int opal_value_unload(opal_value_t *kv,
372373
*data = kv->data.ptr;
373374
break;
374375

376+
case OPAL_VPID:
377+
memcpy(*data, &kv->data.name.vpid, sizeof(opal_vpid_t));
378+
break;
379+
375380
default:
376381
OPAL_ERROR_LOG(OPAL_ERR_NOT_SUPPORTED);
377382
return OPAL_ERR_NOT_SUPPORTED;

0 commit comments

Comments
 (0)