Revision 83fcb515 target-i386/helper2.c
b/target-i386/helper2.c | ||
---|---|---|
35 | 35 |
#include <linux/unistd.h> |
36 | 36 |
#include <linux/version.h> |
37 | 37 |
|
38 |
_syscall3(int, modify_ldt, int, func, void *, ptr, unsigned long, bytecount) |
|
38 |
int modify_ldt(int func, void *ptr, unsigned long bytecount) |
|
39 |
{ |
|
40 |
return syscall(__NR_modify_ldt, func, ptr, bytecount); |
|
41 |
} |
|
39 | 42 |
|
40 | 43 |
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 5, 66) |
41 | 44 |
#define modify_ldt_ldt_s user_desc |
Also available in: Unified diff