aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--sysdeps/unix/sysv/linux/i386/lowlevellock.h18
2 files changed, 5 insertions, 18 deletions
diff --git a/ChangeLog b/ChangeLog
index be1ce97..0a9e249 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2015-03-25 Joseph Myers <joseph@codesourcery.com>
+ * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
+ Remove macro.
+ (LLL_EBX_REG): Likewise.
+ (LLL_ENTER_KERNEL): Likewise.
+
* math/auto-libm-test-in: Add more tests of asin.
* math/auto-libm-test-out: Regenerated.
* sysdeps/i386/fpu/libm-test-ulps: Update.
diff --git a/sysdeps/unix/sysv/linux/i386/lowlevellock.h b/sysdeps/unix/sysv/linux/i386/lowlevellock.h
index 2bf251f..f57afc6 100644
--- a/sysdeps/unix/sysv/linux/i386/lowlevellock.h
+++ b/sysdeps/unix/sysv/linux/i386/lowlevellock.h
@@ -58,24 +58,6 @@
#define LLL_LOCK_INITIALIZER_WAITERS (2)
-#ifdef PIC
-# define LLL_EBX_LOAD "xchgl %2, %%ebx\n"
-# define LLL_EBX_REG "D"
-#else
-# define LLL_EBX_LOAD
-# define LLL_EBX_REG "b"
-#endif
-
-#ifdef I386_USE_SYSENTER
-# ifdef SHARED
-# define LLL_ENTER_KERNEL "call *%%gs:%P6\n\t"
-# else
-# define LLL_ENTER_KERNEL "call *_dl_sysinfo\n\t"
-# endif
-#else
-# define LLL_ENTER_KERNEL "int $0x80\n\t"
-#endif
-
/* Delay in spinlock loop. */
#define BUSY_WAIT_NOP asm ("rep; nop")