- Patch from Aravind Parchuri <aravind.parchuri@gmail.com> with some my modifications:

* Allows LSI MPT target driver to compile on kernels >2.6.15
   * Changes the way how gettid() syscall gate implemented
 - Small doc update


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@189 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Vladislav Bolkhovitin
2007-09-19 09:19:29 +00:00
parent d2aa9c0ac1
commit 4f79d58a3c
4 changed files with 26 additions and 2 deletions
+6 -1
View File
@@ -22,10 +22,15 @@
#include <time.h>
#include <pthread.h>
#include <string.h>
#include <unistd.h>
#include <sys/syscall.h>
#include "debug.h"
_syscall0(pid_t,gettid);
pid_t gettid (void)
{
return syscall(__NR_gettid);
}
#if defined(DEBUG) || defined(TRACING)