2012-05-08 23:50:46 +08:00
|
|
|
diff -ruN common_linux.h.orig common_linux.h
|
|
|
|
|
--- common_linux.h.orig 2012-04-23 11:27:55.000000000 +0800
|
|
|
|
|
+++ common_linux.h 2012-05-08 23:43:00.000000000 +0800
|
|
|
|
|
@@ -77,7 +77,7 @@
|
2012-05-02 17:33:06 +08:00
|
|
|
#else
|
|
|
|
|
//Fixed randomly SEGFAULT when nodemask==NULL with above Linux 2.6.34
|
2012-05-08 23:50:46 +08:00
|
|
|
// unsigned long null_nodemask=0;
|
2012-05-02 17:33:06 +08:00
|
|
|
- return syscall(SYS_mbind, addr, len, mode, nodemask, maxnode, flags);
|
2012-05-07 16:38:44 +08:00
|
|
|
+ return 0;
|
2012-05-02 17:33:06 +08:00
|
|
|
#endif
|
|
|
|
|
}
|
2014-06-28 03:05:18 +08:00
|
|
|
|