diff mbox series

x86: Remove __ASSEMBLER__ check in init-arch.h

Message ID 20200711170645.2257317-1-hjl.tools@gmail.com
State New
Headers show
Series x86: Remove __ASSEMBLER__ check in init-arch.h | expand

Commit Message

H.J. Lu July 11, 2020, 5:06 p.m. UTC
I am checking in this patch shortly.


H.J.
---
Since

commit 430388d5dc0e1861b869096f4f5d946d7d74232a
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Fri Aug 3 08:04:49 2018 -0700

    x86: Don't include <init-arch.h> in assembly codes

removed all usages of <init-arch.h> from assembly codes, we can remove
__ASSEMBLER__ check in init-arch.h.
---
 sysdeps/x86/init-arch.h | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)
diff mbox series

Patch

diff --git a/sysdeps/x86/init-arch.h b/sysdeps/x86/init-arch.h
index d6f59cf962..a174229941 100644
--- a/sysdeps/x86/init-arch.h
+++ b/sysdeps/x86/init-arch.h
@@ -15,11 +15,7 @@ 
    License along with the GNU C Library; if not, see
    <https://www.gnu.org/licenses/>.  */
 
-#ifdef  __ASSEMBLER__
-# include <cpu-features.h>
-#else
-# include <ldsodefs.h>
-#endif
+#include <ldsodefs.h>
 #include <ifunc-init.h>
 #include <isa.h>