From 5e901f9e6bc1833d4e09335faa5967f505596194 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Wed, 5 Jul 2006 00:55:43 +0000 Subject: The ltp testsuite fails on x86 without the modify_ldt syscall --- libc/sysdeps/linux/common/modify_ldt.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'libc/sysdeps/linux/common/modify_ldt.c') 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 -- cgit v1.2.3