diff options
author | Eric Andersen <andersen@codepoet.org> | 2006-07-05 00:55:43 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2006-07-05 00:55:43 +0000 |
commit | 5e901f9e6bc1833d4e09335faa5967f505596194 (patch) | |
tree | 3687ea485830804769fa188eb28ac43d7b218b45 /libc/sysdeps | |
parent | 66b01e60d8d3b28bbaf226f2cb27c459d5fe09c0 (diff) |
The ltp testsuite fails on x86 without the modify_ldt syscall
Diffstat (limited to 'libc/sysdeps')
-rw-r--r-- | libc/sysdeps/linux/common/modify_ldt.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/libc/sysdeps/linux/common/modify_ldt.c b/libc/sysdeps/linux/common/modify_ldt.c index ff7fba4ce..9ebb68b3c 100644 --- a/libc/sysdeps/linux/common/modify_ldt.c +++ b/libc/sysdeps/linux/common/modify_ldt.c @@ -7,14 +7,9 @@ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball. */ -/* Nobody really uses this ... */ -#if 0 - #include "syscalls.h" -#ifdef __NR_modify_ldt int modify_ldt (int func, void *ptr, unsigned long bytecount); +#ifdef __NR_modify_ldt _syscall3(int, modify_ldt, int, func, void *, ptr, unsigned long, bytecount); #endif - -#endif |