From 0f0f20abd295592740a1e764abb976e0db337d86 Mon Sep 17 00:00:00 2001 From: Carmelo Amoroso Date: Thu, 11 Dec 2008 14:45:14 +0000 Subject: Move kernel-features.h header from the linuxthread directory to a common one (libc/sysdeps/linux/common/bits) so that any function can access to supported kernel feature (i.e. getdents). Signed-off-by: Carmelo Amoroso --- libpthread/linuxthreads/sysdeps/i386/i686/pt-machine.h | 2 +- libpthread/linuxthreads/sysdeps/i386/pspinlock.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'libpthread/linuxthreads/sysdeps/i386') diff --git a/libpthread/linuxthreads/sysdeps/i386/i686/pt-machine.h b/libpthread/linuxthreads/sysdeps/i386/i686/pt-machine.h index 222d44a3f..2958c76f0 100644 --- a/libpthread/linuxthreads/sysdeps/i386/i686/pt-machine.h +++ b/libpthread/linuxthreads/sysdeps/i386/i686/pt-machine.h @@ -25,7 +25,7 @@ #ifndef PT_EI # define PT_EI __extern_always_inline #endif -#include "kernel-features.h" +#include #ifndef __ASSEMBLER__ extern long int testandset (int *spinlock); diff --git a/libpthread/linuxthreads/sysdeps/i386/pspinlock.c b/libpthread/linuxthreads/sysdeps/i386/pspinlock.c index c9c62724b..64b59252a 100644 --- a/libpthread/linuxthreads/sysdeps/i386/pspinlock.c +++ b/libpthread/linuxthreads/sysdeps/i386/pspinlock.c @@ -20,7 +20,7 @@ #include #include #include "internals.h" -#include +#include /* This implementation is similar to the one used in the Linux kernel. -- cgit v1.2.3