Revision 73bdea19 tests/test-i386.c
b/tests/test-i386.c | ||
---|---|---|
884 | 884 |
|
885 | 885 |
#include <asm/ldt.h> |
886 | 886 |
#include <linux/unistd.h> |
887 |
#include <linux/version.h> |
|
887 | 888 |
|
888 | 889 |
_syscall3(int, modify_ldt, int, func, void *, ptr, unsigned long, bytecount) |
889 | 890 |
|
891 |
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 5, 66) |
|
892 |
#define modify_ldt_ldt_s user_desc |
|
893 |
#endif |
|
894 |
|
|
890 | 895 |
uint8_t seg_data1[4096]; |
891 | 896 |
uint8_t seg_data2[4096]; |
892 | 897 |
|
Also available in: Unified diff