Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp4280413imm; Fri, 18 May 2018 02:23:42 -0700 (PDT) X-Google-Smtp-Source: AB8JxZovfqHG5M53uE1/hiQohTvtFksQC29XDgbO2g5d0spx9MhbNXe8/9PILy0fIcqVx3uiGN7p X-Received: by 2002:a62:a21e:: with SMTP id m30-v6mr8687365pff.251.1526635422485; Fri, 18 May 2018 02:23:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526635422; cv=none; d=google.com; s=arc-20160816; b=zM8jy+JtNowQIiYhgofGiY9n4TvLoejANiqgZ+t12upKbvIbC6TMxMsyB/Q1zeh/gx M1p32+vbGjExSIHno8xUs9pnT4Ib0vqGWH2D0fLlLSJAW8p7aXeNkBU3aIwZxW9rR5rE f46jYg68wZIzkkGwwjwhzgPd2wIwevZBl8X3Xoq6qtO0DBoxB1lmLvoEt+H0Pe7ZQWEE GhlPvyIEr1D16DiQZCu4gIVnyunPhNpjbxkV7+QItk8BAnZhgdyluVPZNvNBKX6l9F98 vC0QPpLl5+9bXm2DyRcNaTc/Ej31tB292MuWpRVFlqXve7o32mqvZDQgFyaGXuhXMqSm X+Yw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=vQdxNTCTx3/QSrmN/iwm4JqL3HVDmISOlnEKWTPfLWI=; b=On2oTKZfPKNNG+J3hLXqlLu1nsFxufcRoz9uYtQNhrYkT4C44sdSztlEPp46sBEESp 1jtbFOjmtIj8ls4JRwTPv+1NxrdGGjxWTAhSViRmwHsjIEyIQOJLOW98tcp22dXa8eJ7 Bpl+Ha68ALI0SbErvxZh1ZGJ7bAjIPPM4UDknU37PKQS4v7itAxwtX7CnvxLZbTt4VMj 6S70lhz+qvzAx0Lf6N09dIJa9J2LMoNxe9h5vzmr0aMFyblvrd0UeNyNqIFugTLaJX9F 6aeMmsq/efSBUwEO92yAi0Ca6fnHIrVG5WRh/l25qfAZQuy3svJ/ASYd/CBF1aJOVC5s AfeA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j194-v6si5530349pgc.92.2018.05.18.02.23.28; Fri, 18 May 2018 02:23:42 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753356AbeERJVW (ORCPT + 99 others); Fri, 18 May 2018 05:21:22 -0400 Received: from mx2.suse.de ([195.135.220.15]:45493 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752838AbeERJRp (ORCPT ); Fri, 18 May 2018 05:17:45 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 44347AF79; Fri, 18 May 2018 09:17:44 +0000 (UTC) From: Jiri Slaby To: mingo@redhat.com Cc: linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org, Jiri Slaby , Thomas Gleixner , "H. Peter Anvin" , x86@kernel.org Subject: [PATCH v6 19/28] x86/asm: kill the last GLOBAL user and remove the macro Date: Fri, 18 May 2018 11:17:12 +0200 Message-Id: <20180518091721.7604-20-jslaby@suse.cz> X-Mailer: git-send-email 2.16.3 In-Reply-To: <20180518091721.7604-1-jslaby@suse.cz> References: <20180518091721.7604-1-jslaby@suse.cz> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Convert the remaining 32bit users and remove GLOBAL macro finally. In particular, this means to use SYM_ENTRY for the singlestepping hack region. Signed-off-by: Jiri Slaby Cc: Thomas Gleixner Cc: Ingo Molnar Cc: "H. Peter Anvin" Cc: x86@kernel.org --- arch/x86/entry/entry_32.S | 4 ++-- arch/x86/include/asm/linkage.h | 8 -------- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/arch/x86/entry/entry_32.S b/arch/x86/entry/entry_32.S index 4b80b2fb4de1..f701541ecf10 100644 --- a/arch/x86/entry/entry_32.S +++ b/arch/x86/entry/entry_32.S @@ -361,7 +361,7 @@ ENTRY(resume_kernel) END(resume_kernel) #endif -GLOBAL(__begin_SYSENTER_singlestep_region) +SYM_ENTRY(__begin_SYSENTER_singlestep_region, SYM_L_GLOBAL, SYM_A_NONE) /* * All code from here through __end_SYSENTER_singlestep_region is subject * to being single-stepped if a user program sets TF and executes SYSENTER. @@ -502,7 +502,7 @@ ENTRY(entry_SYSENTER_32) pushl $X86_EFLAGS_FIXED popfl jmp .Lsysenter_flags_fixed -GLOBAL(__end_SYSENTER_singlestep_region) +SYM_ENTRY(__end_SYSENTER_singlestep_region, SYM_L_GLOBAL, SYM_A_NONE) ENDPROC(entry_SYSENTER_32) /* diff --git a/arch/x86/include/asm/linkage.h b/arch/x86/include/asm/linkage.h index e07188e8d763..365111789cc6 100644 --- a/arch/x86/include/asm/linkage.h +++ b/arch/x86/include/asm/linkage.h @@ -13,14 +13,6 @@ #ifdef __ASSEMBLY__ -/* - * GLOBAL is DEPRECATED - * - * use SYM_DATA_START, SYM_FUNC_START, SYM_INNER_LABEL, SYM_CODE_START, or - * similar - */ -#define GLOBAL(name) SYM_ENTRY(name, SYM_L_GLOBAL, SYM_A_NONE) - #if defined(CONFIG_X86_64) || defined(CONFIG_X86_ALIGNMENT_16) #define __ALIGN .p2align 4, 0x90 #define __ALIGN_STR __stringify(__ALIGN) -- 2.16.3