Partial fix for #1148. Enable this for 32-bit sparc as well as 64-bit sparc.
This commit was SVN r17059.
Этот коммит содержится в:
родитель
c3bbf69356
Коммит
0f0fde3490
@ -9,6 +9,7 @@
|
|||||||
* University of Stuttgart. All rights reserved.
|
* University of Stuttgart. All rights reserved.
|
||||||
* Copyright (c) 2004-2005 The Regents of the University of California.
|
* Copyright (c) 2004-2005 The Regents of the University of California.
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
|
* Copyright (c) 2008 Sun Microsystems, Inc. All rights reserved.
|
||||||
* $COPYRIGHT$
|
* $COPYRIGHT$
|
||||||
*
|
*
|
||||||
* Additional copyrights may follow
|
* Additional copyrights may follow
|
||||||
@ -249,8 +250,8 @@ bool mca_btl_tcp_frag_recv(mca_btl_tcp_frag_t* frag, int sd)
|
|||||||
frag->iov[1].iov_base = (IOVBASE_TYPE*)(frag->segments[0].seg_addr.pval);
|
frag->iov[1].iov_base = (IOVBASE_TYPE*)(frag->segments[0].seg_addr.pval);
|
||||||
frag->iov[1].iov_len = frag->hdr.size;
|
frag->iov[1].iov_len = frag->hdr.size;
|
||||||
frag->iov_cnt++;
|
frag->iov_cnt++;
|
||||||
#ifndef __sparcv9
|
#ifndef __sparc
|
||||||
/* The following cannot be done for sparcv9 (64bit) code
|
/* The following cannot be done for sparc code
|
||||||
* because it causes alignment errors when accessing
|
* because it causes alignment errors when accessing
|
||||||
* structures later on in the btl and pml code.
|
* structures later on in the btl and pml code.
|
||||||
*/
|
*/
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user