From 0f34d426acf8950599ab8a1e6a733fe4c40903a4 Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Fri, 13 Nov 2020 15:19:41 +0100 Subject: x86: Remove UP macro. Define LOCK_PREFIX unconditionally. The UP macro is never defined. Also define LOCK_PREFIX unconditionally, to the same string. Reviewed-by: Adhemerval Zanella --- sysdeps/i386/nptl/tls.h | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'sysdeps/i386/nptl/tls.h') diff --git a/sysdeps/i386/nptl/tls.h b/sysdeps/i386/nptl/tls.h index ec03fc189c..5042d52b98 100644 --- a/sysdeps/i386/nptl/tls.h +++ b/sysdeps/i386/nptl/tls.h @@ -155,13 +155,7 @@ union user_desc_init # define INIT_SYSINFO #endif -#ifndef LOCK_PREFIX -# ifdef UP -# define LOCK_PREFIX /* nothing */ -# else -# define LOCK_PREFIX "lock;" -# endif -#endif +#define LOCK_PREFIX "lock;" static inline void __attribute__ ((unused, always_inline)) tls_fill_user_desc (union user_desc_init *desc, -- cgit 1.4.1