Be consistent about the definitions of mca_mpool_base_page_size and
mca_mpool_base_page_size_log. They are exported by the mpool/base/base.h, if some other code need them, then it should include this file instead of having it's own redefinition of these externals. This commit was SVN r14156.
Этот коммит содержится в:
родитель
3ee28d892f
Коммит
78f362d0d6
@ -25,9 +25,6 @@
|
||||
#include "orte/util/proc_info.h"
|
||||
#include "orte/mca/ns/ns_types.h"
|
||||
|
||||
|
||||
extern uint32_t mca_mpool_base_page_size;
|
||||
extern uint32_t mca_mpool_base_page_size_log;
|
||||
ompi_pointer_array_t mca_mpool_base_mem_cb_array;
|
||||
|
||||
/*
|
||||
|
@ -24,8 +24,6 @@
|
||||
#include "ompi/mca/rcache/base/base.h"
|
||||
#include "ompi/mca/mpool/base/base.h"
|
||||
|
||||
extern uint32_t mca_mpool_base_page_size;
|
||||
extern uint32_t mca_mpool_base_page_size_log;
|
||||
uint64_t mca_mpool_gm_mem_registered;
|
||||
|
||||
/*
|
||||
|
@ -32,10 +32,6 @@
|
||||
#include <malloc.h>
|
||||
#endif
|
||||
|
||||
extern uint32_t mca_mpool_base_page_size;
|
||||
extern uint32_t mca_mpool_base_page_size_log;
|
||||
|
||||
|
||||
/*
|
||||
* Initializes the mpool module.
|
||||
*/
|
||||
|
@ -28,9 +28,6 @@
|
||||
#include "ompi/mca/rcache/base/base.h"
|
||||
#include "ompi/mca/mpool/base/base.h"
|
||||
|
||||
extern uint32_t mca_mpool_base_page_size;
|
||||
extern uint32_t mca_mpool_base_page_size_log;
|
||||
|
||||
/*
|
||||
* Initializes the mpool module.
|
||||
*/
|
||||
|
@ -34,9 +34,6 @@
|
||||
#include "ompi/mca/rcache/base/base.h"
|
||||
#include "ompi/mca/mpool/base/base.h"
|
||||
|
||||
extern uint32_t mca_mpool_base_page_size;
|
||||
extern uint32_t mca_mpool_base_page_size_log;
|
||||
|
||||
/*
|
||||
* Initializes the mpool module.
|
||||
*/
|
||||
|
@ -28,8 +28,6 @@
|
||||
#include "ompi/mca/rcache/base/base.h"
|
||||
#include "ompi/mca/mpool/base/base.h"
|
||||
|
||||
extern uint32_t mca_mpool_base_page_size;
|
||||
extern uint32_t mca_mpool_base_page_size_log;
|
||||
uint64_t mca_mpool_udapl_mem_registered;
|
||||
|
||||
/*
|
||||
|
@ -24,9 +24,6 @@
|
||||
#include "opal/util/output.h"
|
||||
#include "ompi/mca/mpool/base/base.h"
|
||||
|
||||
extern unsigned int mca_mpool_base_page_size;
|
||||
extern unsigned int mca_mpool_base_page_size_log;
|
||||
|
||||
/**
|
||||
* Initialize the rcache
|
||||
*/
|
||||
|
@ -27,9 +27,6 @@
|
||||
#include "opal/util/output.h"
|
||||
#include "ompi/mca/mpool/base/base.h"
|
||||
|
||||
OMPI_DECLSPEC extern unsigned int mca_mpool_base_page_size;
|
||||
OMPI_DECLSPEC extern unsigned int mca_mpool_base_page_size_log;
|
||||
|
||||
/**
|
||||
* Initialize the rcache
|
||||
*/
|
||||
|
@ -28,8 +28,6 @@
|
||||
#include "opal/mca/mca.h"
|
||||
#include "rcache_vma_tree.h"
|
||||
|
||||
extern unsigned int mca_mpool_base_page_size;
|
||||
|
||||
OBJ_CLASS_INSTANCE(mca_rcache_vma_reg_list_item_t, opal_list_item_t, NULL, NULL);
|
||||
|
||||
static void mca_rcache_vma_construct(opal_object_t *object)
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user