Browse Source

The ltp testsuite fails on x86 without the modify_ldt syscall

Eric Andersen 18 years ago
parent
commit
5e901f9e6b
1 changed files with 1 additions and 6 deletions
  1. 1 6
      libc/sysdeps/linux/common/modify_ldt.c

+ 1 - 6
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