@@ -31,7 +31,7 @@ int opal_hwloc_pack(opal_buffer_t *buffer, const void *src,
3131 t = tarray [i ];
3232
3333 /* extract an xml-buffer representation of the tree */
34- if (0 != hwloc_topology_export_xmlbuffer (t , & xmlbuffer , & len )) {
34+ if (0 != opal_hwloc_base_topology_export_xmlbuffer (t , & xmlbuffer , & len )) {
3535 return OPAL_ERROR ;
3636 }
3737
@@ -106,8 +106,7 @@ int opal_hwloc_unpack(opal_buffer_t *buffer, void *dest,
106106 /* since we are loading this from an external source, we have to
107107 * explicitly set a flag so hwloc sets things up correctly
108108 */
109- if (0 != hwloc_topology_set_flags (t , (HWLOC_TOPOLOGY_FLAG_IS_THISSYSTEM |
110- HWLOC_TOPOLOGY_FLAG_IO_DEVICES ))) {
109+ if (0 != opal_hwloc_base_topology_set_flags (t , HWLOC_TOPOLOGY_FLAG_IS_THISSYSTEM , true)) {
111110 rc = OPAL_ERROR ;
112111 hwloc_topology_destroy (t );
113112 goto cleanup ;
@@ -191,10 +190,10 @@ int opal_hwloc_compare(const hwloc_topology_t topo1,
191190 * where we really need to do a tree-wise search so we only compare
192191 * the things we care about, and ignore stuff like MAC addresses
193192 */
194- if (0 != hwloc_topology_export_xmlbuffer (t1 , & x1 , & l1 )) {
193+ if (0 != opal_hwloc_base_topology_export_xmlbuffer (t1 , & x1 , & l1 )) {
195194 return OPAL_EQUAL ;
196195 }
197- if (0 != hwloc_topology_export_xmlbuffer (t2 , & x2 , & l2 )) {
196+ if (0 != opal_hwloc_base_topology_export_xmlbuffer (t2 , & x2 , & l2 )) {
198197 free (x1 );
199198 return OPAL_EQUAL ;
200199 }
0 commit comments