projects
/
platform
/
upstream
/
openblas.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ccdba3c
)
Ref #82 fixed the bug in my_mbind function.
author
Xianyi Zhang
<traits.zhang@gmail.com>
Fri, 23 Mar 2012 07:15:05 +0000
(15:15 +0800)
committer
Xianyi Zhang
<traits.zhang@gmail.com>
Fri, 23 Mar 2012 07:15:05 +0000
(15:15 +0800)
common_linux.h
patch
|
blob
|
history
diff --git
a/common_linux.h
b/common_linux.h
index
8d9019a
..
b0381d9
100644
(file)
--- a/
common_linux.h
+++ b/
common_linux.h
@@
-76,8
+76,8
@@
static inline int my_mbind(void *addr, unsigned long len, int mode,
#endif
#else
//Fixed randomly SEGFAULT when nodemask==NULL with above Linux 2.6.34
-
unsigned long null_nodemask=0;
- return syscall(SYS_mbind, addr, len, mode,
&null_
nodemask, maxnode, flags);
+
//
unsigned long null_nodemask=0;
+ return syscall(SYS_mbind, addr, len, mode, nodemask, maxnode, flags);
#endif
}