From c081a520a31c3240d54340d9ece606ae6ea260d8 Mon Sep 17 00:00:00 2001 From: Ralph Castain Date: Thu, 25 Apr 2013 19:13:56 +0000 Subject: [PATCH] Fix --without-hwloc This commit was SVN r28396. --- opal/mca/hwloc/base/hwloc_base_open.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/opal/mca/hwloc/base/hwloc_base_open.c b/opal/mca/hwloc/base/hwloc_base_open.c index 7085f222d5..184f0d3f96 100644 --- a/opal/mca/hwloc/base/hwloc_base_open.c +++ b/opal/mca/hwloc/base/hwloc_base_open.c @@ -162,11 +162,9 @@ static int opal_hwloc_base_register(mca_base_register_flag_t flags) MCA_BASE_VAR_TYPE_BOOL, NULL, 0, 0, OPAL_INFO_LVL_9, MCA_BASE_VAR_SCOPE_READONLY, &opal_hwloc_use_hwthreads_as_cpus); - /* register components */ - return OPAL_SUCCESS; -#else /* OPAL_HAVE_HWLOC */ - return OPAL_ERR_NOT_AVAILABLE; #endif + /* register parameters */ + return OPAL_SUCCESS; } static int opal_hwloc_base_open(mca_base_open_flag_t flags)