From patchwork Thu Dec 19 12:25:32 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Brown X-Patchwork-Id: 182108 Delivered-To: patch@linaro.org Received: by 2002:a92:d0a:0:0:0:0:0 with SMTP id 10csp411781iln; Thu, 19 Dec 2019 04:26:59 -0800 (PST) X-Google-Smtp-Source: APXvYqzWxCBCCjxkYt1Bf+Lo/jMkbrdxwCFKCHfGdL1jdZYLIczXPC8DGNq5aO7ox/4Rp9E9fpl3 X-Received: by 2002:a5d:8744:: with SMTP id k4mr5872450iol.227.1576758419363; Thu, 19 Dec 2019 04:26:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576758419; cv=none; d=google.com; s=arc-20160816; b=yaHPjW8unPwxICUA7keruAQ63Z0tcUpz1r4a5Iyv8m2RcQQQ/MvxKsuyJOmCmzJAnM +Goi8Nynh+xcqMT47ZcVtTDRXMbizde5m92qDL9goWp/qX+K1YTy1lQgUUsMWwiglnR6 WgwmVI+zAQjKz7vmHpjH3kls93Cjk+TkjlS8nn+OgQEQcL1pKZDdnnD4wDqNPEZZwAs4 ahfWoxTQ1zrkvZpNEBkgdxJ9frhLfBVgdMsRHpCAGwqvyhWWHtNGhCYCZvrcxm4M6QZW x+H0jxKkFG7Bq1zXZZkZigpB05wQXjKF9G5Vg4+KHdYr98l1W9bJiRhVgiHlZRu4bRuL ufTg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-unsubscribe:list-id:precedence:subject :mime-version:message-id:date:to:from; bh=K6JnfBn9jlegGhTSfoMRlL1fhIWV9Oh0MtJwMT3x2ks=; b=bly98j6rrCy9rXOV/T3R33Jl8obYUlNEh08ZAwLsFU7TlPsTOdYJLaWeP8xDLZvuvJ w03dLKv0n15OAlDPodQIgvCOIjE4SIGTEzJHYm0kY34L0lMPcgGtbnjmlcwHx/ytobOo OSYvQBMF/b/zgCYmf5/xWajbUDgAeoHx3I1NvoFGRQrz3/AN9qAr7KAJJynzXFNoibZk b3OSnrQ/76bZSFC3MptHXfvout9/3kGs9HNtigwokPRjGgafJujVyuivZuQXHSe/acNI 3gq8c2JTLXIDInAht50nlFGVoAkXfVg87lgLH15ygP6u/WrZPKIN4t+eJodGtgBV91By PNIA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of xen-devel-bounces@lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from lists.xenproject.org (lists.xenproject.org. [192.237.175.120]) by mx.google.com with ESMTPS id m6si4710679ili.3.2019.12.19.04.26.59 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 19 Dec 2019 04:26:59 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of xen-devel-bounces@lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of xen-devel-bounces@lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1ihus7-0003jH-0L; Thu, 19 Dec 2019 12:25:39 +0000 Received: from all-amaz-eas1.inumbo.com ([34.197.232.57] helo=us1-amaz-eas2.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1ihus5-0003jC-QB for xen-devel@lists.xenproject.org; Thu, 19 Dec 2019 12:25:37 +0000 X-Inumbo-ID: a92ee296-225a-11ea-919a-12813bfff9fa Received: from foss.arm.com (unknown [217.140.110.172]) by us1-amaz-eas2.inumbo.com (Halon) with ESMTP id a92ee296-225a-11ea-919a-12813bfff9fa; Thu, 19 Dec 2019 12:25:36 +0000 (UTC) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id A5FA731B; Thu, 19 Dec 2019 04:25:36 -0800 (PST) Received: from localhost (unknown [10.37.6.21]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 243E83F719; Thu, 19 Dec 2019 04:25:35 -0800 (PST) From: Mark Brown To: Catalin Marinas , Will Deacon Date: Thu, 19 Dec 2019 12:25:32 +0000 Message-Id: <20191219122532.6538-1-broonie@kernel.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Subject: [Xen-devel] [PATCH v2] arm64: xen: Use modern annotations for assembly functions X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: xen-devel@lists.xenproject.org, Mark Brown , Julien Grall , Stefano Stabellini , linux-arm-kernel@lists.infradead.org Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" In an effort to clarify and simplify the annotation of assembly functions in the kernel new macros have been introduced. These replace ENTRY and ENDPROC. Update the annotations in the xen code to the new macros. Signed-off-by: Mark Brown Reviewed-by: Julien Grall Reviewed-by: Stefano Stabellini --- arch/arm64/xen/hypercall.S | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm64/xen/hypercall.S b/arch/arm64/xen/hypercall.S index c5f05c4a4d00..5b09aca55108 100644 --- a/arch/arm64/xen/hypercall.S +++ b/arch/arm64/xen/hypercall.S @@ -56,11 +56,11 @@ #define XEN_IMM 0xEA1 #define HYPERCALL_SIMPLE(hypercall) \ -ENTRY(HYPERVISOR_##hypercall) \ +SYM_FUNC_START(HYPERVISOR_##hypercall) \ mov x16, #__HYPERVISOR_##hypercall; \ hvc XEN_IMM; \ ret; \ -ENDPROC(HYPERVISOR_##hypercall) +SYM_FUNC_END(HYPERVISOR_##hypercall) #define HYPERCALL0 HYPERCALL_SIMPLE #define HYPERCALL1 HYPERCALL_SIMPLE @@ -86,7 +86,7 @@ HYPERCALL2(multicall); HYPERCALL2(vm_assist); HYPERCALL3(dm_op); -ENTRY(privcmd_call) +SYM_FUNC_START(privcmd_call) mov x16, x0 mov x0, x1 mov x1, x2 @@ -109,4 +109,4 @@ ENTRY(privcmd_call) */ uaccess_ttbr0_disable x6, x7 ret -ENDPROC(privcmd_call); +SYM_FUNC_END(privcmd_call);