X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=common_linux.h;h=5a1c4e1508273787fd49244e6a70e5ee71341838;hb=refs%2Fheads%2Faccepted%2Ftizen_8.0_unified;hp=35f3fb6586da5d295c520e042909d65519cbecb2;hpb=3a8c5180b97fbd30051168e0ad773481e00b16a5;p=platform%2Fupstream%2Fopenblas.git diff --git a/common_linux.h b/common_linux.h index 35f3fb6..5a1c4e1 100644 --- a/common_linux.h +++ b/common_linux.h @@ -75,18 +75,10 @@ static inline int my_mbind(void *addr, unsigned long len, int mode, // https://lsbbugs.linuxfoundation.org/show_bug.cgi?id=3482 return 0; #else -#if defined (LOONGSON3B) -#if defined (__64BIT__) - return syscall(SYS_mbind, addr, len, mode, nodemask, maxnode, flags); -#else - return 0; //NULL Implementation on Loongson 3B 32bit. -#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, nodemask, maxnode, flags); #endif -#endif } static inline int my_set_mempolicy(int mode, const unsigned long *addr, unsigned long flag) {