diff --git a/opal/mca/hwloc/hwloc172/hwloc/src/topology-linux.c b/opal/mca/hwloc/hwloc172/hwloc/src/topology-linux.c index 3403f51b37..7885e6e98c 100644 --- a/opal/mca/hwloc/hwloc172/hwloc/src/topology-linux.c +++ b/opal/mca/hwloc/hwloc172/hwloc/src/topology-linux.c @@ -272,6 +272,7 @@ hwloc_opendir(const char *p, int d __hwloc_attribute_unused) } +#if defined(HWLOC_HAVE_CPU_SET_S) && !defined(HWLOC_HAVE_OLD_SCHED_SETAFFINITY) static int hwloc_linux_parse_cpuset_file(FILE *file, hwloc_bitmap_t set) { @@ -312,7 +313,7 @@ hwloc_linux_parse_cpuset_file(FILE *file, hwloc_bitmap_t set) return 0; } - +#endif /***************************** ******* CpuBind Hooks *******