From 60d5e40ab200033a982a9fd7594a1f83dcdb94a0 Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Wed, 21 Apr 2021 19:49:51 +0200 Subject: x86: Remove low-level lock optimization The current approach is to do this optimizations at a higher level, in generic code, so that single-threaded cases can be specifically targeted. Furthermore, using IS_IN (libc) as a compile-time indicator that all locks are private is no longer correct once process-shared lock implementations are moved into libc. The generic is not compatible with assembler code (obviously), so it's necessary to remove two long-unused #includes. Reviewed-by: Adhemerval Zanella --- sysdeps/i386/nptl/pthread_spin_lock.S | 1 - 1 file changed, 1 deletion(-) (limited to 'sysdeps/i386/nptl') diff --git a/sysdeps/i386/nptl/pthread_spin_lock.S b/sysdeps/i386/nptl/pthread_spin_lock.S index eec157fde7..985b236aae 100644 --- a/sysdeps/i386/nptl/pthread_spin_lock.S +++ b/sysdeps/i386/nptl/pthread_spin_lock.S @@ -16,7 +16,6 @@ . */ #include -#include ENTRY (pthread_spin_lock) mov 4(%esp), %eax -- cgit 1.4.1