summaryrefslogtreecommitdiff
path: root/libpthread/linuxthreads/sysdeps/i386
diff options
context:
space:
mode:
authorCarmelo Amoroso <carmelo.amoroso@st.com>2008-12-11 14:45:14 +0000
committerCarmelo Amoroso <carmelo.amoroso@st.com>2008-12-11 14:45:14 +0000
commit0f0f20abd295592740a1e764abb976e0db337d86 (patch)
tree26dc4dfffb4867f2453b1dd3837e171dd0b9f62d /libpthread/linuxthreads/sysdeps/i386
parent6ff6eb1350c00bde1e64eeabd676e477402d5b9c (diff)
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 <carmelo.amoroso@st.com>
Diffstat (limited to 'libpthread/linuxthreads/sysdeps/i386')
-rw-r--r--libpthread/linuxthreads/sysdeps/i386/i686/pt-machine.h2
-rw-r--r--libpthread/linuxthreads/sysdeps/i386/pspinlock.c2
2 files changed, 2 insertions, 2 deletions
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 <bits/kernel-features.h>
#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 <errno.h>
#include <pthread.h>
#include "internals.h"
-#include <kernel-features.h>
+#include <bits/kernel-features.h>
/* This implementation is similar to the one used in the Linux kernel.