about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/i386/lowlevellock.h
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2015-03-25 21:21:18 +0000
committerJoseph Myers <joseph@codesourcery.com>2015-03-25 21:21:18 +0000
commit9fa55373e1c27f2e5f3f2e0643040049b4243c05 (patch)
treeb3e84df99c17bb2f21cc8a2b20e7a343bf0b8fdf /sysdeps/unix/sysv/linux/i386/lowlevellock.h
parent38755f14215920cc5d2260e596ed3f6603c30620 (diff)
downloadglibc-9fa55373e1c27f2e5f3f2e0643040049b4243c05.tar.gz
glibc-9fa55373e1c27f2e5f3f2e0643040049b4243c05.tar.xz
glibc-9fa55373e1c27f2e5f3f2e0643040049b4243c05.zip
Remove unused macros from i386 lowlevellock.h.
In the course of the work on six-argument syscalls I noticed that the
i386 lowlevellock.h contained some unused macro definitions (already
unused before my patch).  This patch removes them.

Tested for x86 that installed stripped shared libraries are unchanged
by this patch.

	* sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
	Remove macro.
	(LLL_EBX_REG): Likewise.
	(LLL_ENTER_KERNEL): Likewise.
Diffstat (limited to 'sysdeps/unix/sysv/linux/i386/lowlevellock.h')
-rw-r--r--sysdeps/unix/sysv/linux/i386/lowlevellock.h18
1 files changed, 0 insertions, 18 deletions
diff --git a/sysdeps/unix/sysv/linux/i386/lowlevellock.h b/sysdeps/unix/sysv/linux/i386/lowlevellock.h
index 2bf251fbc6..f57afc6e2a 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")