From: Robert W. <ro...@us...> - 2005-06-16 18:44:02
|
Update of /cvsroot/ltp/ltp/testcases/network/nfs/nfsstress In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29076 Modified Files: make_tree.c Log Message: Applied patch from Greg Edwards: ================================= testcases/network/nfs/nfsstress/make_tree.c uses the _syscall0() interface, which is not a standard interface across all distributions (e.g. SuSE SLES). Define gettid() to syscall(__NR_gettid). Index: make_tree.c =================================================================== RCS file: /cvsroot/ltp/ltp/testcases/network/nfs/nfsstress/make_tree.c,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** make_tree.c 27 May 2005 15:04:05 -0000 1.5 --- make_tree.c 16 Jun 2005 18:43:53 -0000 1.6 *************** *** 189,193 **** #include <errno.h> #include <linux/unistd.h> ! _syscall0(pid_t,gettid) #ifdef DEBUG --- 189,194 ---- #include <errno.h> #include <linux/unistd.h> ! ! #define gettid() syscall(__NR_gettid) #ifdef DEBUG |