From patchwork Sat Jul 11 17:06:45 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "H.J. Lu" X-Patchwork-Id: 40039 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 019D43857C42; Sat, 11 Jul 2020 17:06:51 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 019D43857C42 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1594487211; bh=9gXlxq2uq+xrfb3GF1j7yL5DHh5EnQTUUFgrjZaM1SA=; h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=oNvCGLBgFdM2MZxbYYtXv12g9cO3AXm+vvqCY3mcgNhujtcAwzhxDPM8pdS4QTzRx ygBV/2KDduEtrSf2vc7aN16UuM8PdlKHqRjvXNX8jadZ9BHPo6lPbZa3kgSC1jmj6d 11IgX4+0qPQQK/ccCiX+EBxbxo0aD3B7uGQ32oM8= X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-pj1-x1035.google.com (mail-pj1-x1035.google.com [IPv6:2607:f8b0:4864:20::1035]) by sourceware.org (Postfix) with ESMTPS id AD9E33857C40 for ; Sat, 11 Jul 2020 17:06:48 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org AD9E33857C40 Received: by mail-pj1-x1035.google.com with SMTP id b92so3925521pjc.4 for ; Sat, 11 Jul 2020 10:06:48 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=9gXlxq2uq+xrfb3GF1j7yL5DHh5EnQTUUFgrjZaM1SA=; b=rExJBvzj5veO/4m7Zg8gcYatOb/A9u0y5RV3PGTQp7fpx31Y5/j75WBqYzjFPdPjAg O2OQQknykOy0Wpyai3MvI6CzRitix1LxAjVUeantE9DrWWkSCPVco0RK77cgGuM+5bbN H2BsAmoCfxM43TRD4zjSxeRiiJLRZI10/NXoOAaQrVm/Fhcq3M1rV6IIbJhn07QnAF/u MOwaAS9MZ7gYzebX4eENr1EGFm+oKlKRJjeGsexZRd7/2ADlKMx22x+u34K2chgydRAm TgoRgOhR235NawXLrmc/jwcBnjptQi7qiMYlWWhbyX39LxNyRlmWgIKr1KUi01ikOHpc EUig== X-Gm-Message-State: AOAM530s0q1GI8S/e+J2J1BPTc6XYfHkgpnADCVbexSf9pHnRECOSid+ RwT2m356Clmh6GSK6W7Vl4sM9dqrsRc= X-Google-Smtp-Source: ABdhPJzY9saqEumuCxokfyok0OJbZ2DKlA3jZJo3VMJwkBjmNr1QShTpqqVZTpnV8AlzrwSorAyl0Q== X-Received: by 2002:a17:90a:6b02:: with SMTP id v2mr11177937pjj.163.1594487207564; Sat, 11 Jul 2020 10:06:47 -0700 (PDT) Received: from gnu-gram-1.localdomain (c-69-181-90-243.hsd1.ca.comcast.net. [69.181.90.243]) by smtp.gmail.com with ESMTPSA id r16sm9461140pfh.64.2020.07.11.10.06.46 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 11 Jul 2020 10:06:46 -0700 (PDT) Received: from gnu-gram-1.localdomain (localhost [IPv6:::1]) by gnu-gram-1.localdomain (Postfix) with ESMTP id DEC91E0043 for ; Sat, 11 Jul 2020 10:06:45 -0700 (PDT) To: libc-alpha@sourceware.org Subject: [PATCH] x86: Remove __ASSEMBLER__ check in init-arch.h Date: Sat, 11 Jul 2020 10:06:45 -0700 Message-Id: <20200711170645.2257317-1-hjl.tools@gmail.com> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 X-Spam-Status: No, score=-12.4 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, GIT_PATCH_0, KAM_SHORT, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: "H.J. Lu via Libc-alpha" From: "H.J. Lu" Reply-To: "H.J. Lu" Errors-To: libc-alpha-bounces@sourceware.org Sender: "Libc-alpha" I am checking in this patch shortly. H.J. --- Since commit 430388d5dc0e1861b869096f4f5d946d7d74232a Author: H.J. Lu Date: Fri Aug 3 08:04:49 2018 -0700 x86: Don't include in assembly codes removed all usages of 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 --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 . */ -#ifdef __ASSEMBLER__ -# include -#else -# include -#endif +#include #include #include