aboutsummaryrefslogtreecommitdiff
path: root/linuxthreads/sysdeps/i386/i686/pt-machine.h
diff options
context:
space:
mode:
Diffstat (limited to 'linuxthreads/sysdeps/i386/i686/pt-machine.h')
-rw-r--r--linuxthreads/sysdeps/i386/i686/pt-machine.h16
1 files changed, 0 insertions, 16 deletions
diff --git a/linuxthreads/sysdeps/i386/i686/pt-machine.h b/linuxthreads/sysdeps/i386/i686/pt-machine.h
index d01e6cf368..8c2d794a8c 100644
--- a/linuxthreads/sysdeps/i386/i686/pt-machine.h
+++ b/linuxthreads/sysdeps/i386/i686/pt-machine.h
@@ -58,21 +58,5 @@ __compare_and_swap (long int *p, long int oldval, long int newval)
}
-extern inline int
-get_eflags (void)
-{
- int res;
- __asm__ __volatile__ ("pushfl; popl %0" : "=r" (res) : );
- return res;
-}
-
-
-extern inline void
-set_eflags (int newflags)
-{
- __asm__ __volatile__ ("pushl %0; popfl" : : "r" (newflags) : "cc");
-}
-
-
/* Use the LDT implementation only if the kernel is fixed. */
//#include "../useldt.h"