1
1

hwloc131_module.c isn't necessary -- there's no module.

This commit was SVN r25901.
Этот коммит содержится в:
Jeff Squyres 2012-02-10 18:09:19 +00:00
родитель 8c9dc990a9
Коммит 8d0bc199df
3 изменённых файлов: 2 добавлений и 58 удалений

Просмотреть файл

@ -18,7 +18,7 @@ SUBDIRS = hwloc
# Headers and sources
headers = hwloc131.h
sources = hwloc131_component.c hwloc131_module.c
sources = hwloc131_component.c
# We only ever build this component statically
noinst_LTLIBRARIES = libmca_hwloc_hwloc131.la

Просмотреть файл

@ -26,11 +26,6 @@
const char *opal_hwloc_hwloc131_component_version_string =
"OPAL hwloc131 hwloc MCA component version " OPAL_VERSION;
/*
* Local function
*/
static int hwloc131_open(void);
/*
* Instantiate the public struct with all of our public information
* and pointers to our public functions in it
@ -51,7 +46,7 @@ const opal_hwloc_component_t mca_hwloc_hwloc131_component = {
OPAL_RELEASE_VERSION,
/* Component open and close functions */
hwloc131_open,
NULL,
NULL
},
{
@ -59,10 +54,3 @@ const opal_hwloc_component_t mca_hwloc_hwloc131_component = {
MCA_BASE_METADATA_PARAM_CHECKPOINT
}
};
static int hwloc131_open(void)
{
return OPAL_SUCCESS;
}

Просмотреть файл

@ -1,44 +0,0 @@
/*
* Copyright (c) 2011 Cisco Systems, Inc. All rights reserved.
*/
#include "opal_config.h"
#include "opal/constants.h"
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
#ifdef WIN32
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#undef WIN32_LEAN_AND_MEAN
#endif
#ifdef HAVE_SYS_TIME_H
#include <sys/time.h>
#endif
#include <sys/queue.h>
#include <stdio.h>
#include <stdlib.h>
#ifndef WIN32
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
#endif
#include <errno.h>
#include <signal.h>
#include <string.h>
#include <assert.h>
#include <time.h>
#include "opal/class/opal_object.h"
#include "opal/threads/mutex.h"
#include "opal/threads/threads.h"
#include "opal/util/output.h"
#include "opal/util/argv.h"
#include "opal/util/fd.h"
#include "opal/mca/base/mca_base_param.h"
#include "hwloc131.h"
#include "opal/mca/hwloc/base/base.h"