Procházet zdrojové kódy

The ltp testsuite fails on x86 without the modify_ldt syscall

Eric Andersen před 18 roky
rodič
revize
5e901f9e6b
1 změnil soubory, kde provedl 1 přidání a 6 odebrání
  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