[mpich-commits] [mpich] MPICH primary repository branch, master, updated. v3.0.4-109-gd9a67f4

mysql vizuser noreply at mpich.org
Wed May 1 18:30:19 CDT 2013


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "MPICH primary repository".

The branch, master has been updated
       via  d9a67f406163643fb86ab2d10e2853f20ad11a1d (commit)
      from  9757bc209a06d08b9ffa2a4d068100b695aa05d8 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://git.mpich.org/mpich.git/commitdiff/d9a67f406163643fb86ab2d10e2853f20ad11a1d

commit d9a67f406163643fb86ab2d10e2853f20ad11a1d
Author: Pavan Balaji <balaji at mcs.anl.gov>
Date:   Wed May 1 18:29:06 2013 -0500

    hwloc bug fix for tt#1830.
    
    hwloc moved to using hwloc_getpagesize instead of getpagesize, but it
    looks like they missed the change in the darwin version.
    
    No reviewer.

diff --git a/src/pm/hydra/tools/topo/hwloc/hwloc/src/topology-darwin.c b/src/pm/hydra/tools/topo/hwloc/hwloc/src/topology-darwin.c
index 75314dd..39e13a3 100644
--- a/src/pm/hydra/tools/topo/hwloc/hwloc/src/topology-darwin.c
+++ b/src/pm/hydra/tools/topo/hwloc/hwloc/src/topology-darwin.c
@@ -237,7 +237,7 @@ hwloc_look_darwin(struct hwloc_backend *backend)
 	    obj->memory.page_types_len = 2;
 	    obj->memory.page_types = malloc(2*sizeof(*obj->memory.page_types));
 	    memset(obj->memory.page_types, 0, 2*sizeof(*obj->memory.page_types));
-	    obj->memory.page_types[0].size = getpagesize();
+	    obj->memory.page_types[0].size = hwloc_getpagesize();
 #ifdef HAVE__SC_LARGE_PAGESIZE
 	    obj->memory.page_types[1].size = sysconf(_SC_LARGE_PAGESIZE);
 #endif

-----------------------------------------------------------------------

Summary of changes:
 .../tools/topo/hwloc/hwloc/src/topology-darwin.c   |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
MPICH primary repository


More information about the commits mailing list