From patchwork Wed Dec 18 12:37:56 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Brown X-Patchwork-Id: 181996 Delivered-To: patch@linaro.org Received: by 2002:a92:3001:0:0:0:0:0 with SMTP id x1csp613559ile; Wed, 18 Dec 2019 04:59:03 -0800 (PST) X-Google-Smtp-Source: APXvYqzwsrSKvcWukoUQPqUhF9SlJPtFZ5DghJTxfI/rzz7F7Q+TbasfgMJaGiAzwuE/P2MDgzhU X-Received: by 2002:a05:6602:248b:: with SMTP id g11mr755392ioe.139.1576673942972; Wed, 18 Dec 2019 04:59:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576673942; cv=none; d=google.com; s=arc-20160816; b=fLY+sQsGtSHk1Yc2aif+4iyW+GPy4EIALwA4roLDOow+zPhxXjqwPAWLMwMmAZ0p/Y 8v0j15+sHHp1YAtGPFiXSimp/OPggZ36hV1lu2w3+lPIS2jdgT0a7SzOAXFUNf3VXAZ3 MWDRljywQKqn7gLEiJjn2sA00q2a9VIGKpMuRoYvydKY3iu6jLYt0XCG6zx0jxnWGNwO lNyk9l9YwrBLKw/IKY6sQNsmz0Co5lP2rwen9POdfl9fANvv2nBoxIzBNCsU6RO6Mws0 6VG08a4LfaGtJIoBNDE7RE8U40vd7MdLy74EjI66tE56lfVk2LvJzV4jJJSI8eeFQ+Pv 9oWA== 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=H9JkbfLR5tNbCXe/TO4kpj1Bmfagyj+etk6/p9M/QyU=; b=CackvG5uVHSkKIXmqJShXK6+4p7F4hq1EW6cBv7aHtjqIO1d/kpFYR8zkPp1Ryyghf EsjTYe2rHY/I71V3zckGiY4txLuQ7czB51EpIste2k0bzlRKoUsIrHjopV3Td1t4XQcm O4RAiG/EPEQIDhVRn1OWkzkk9/QASeingDiPF1d2WT+cHMNP5GzsIUI1fwkZ6+4q/DDx Xff4k87CXPg3XYywAUR7v2w39kZg9xsmIZbhqbrTiqhyBNOwDYY8a6/UA2A94Mcgz4Sx ovReZs5saVjW6KhCTwsBvVXIKrlksnuKnVNYZndV+8yjim6ZTg+r41YNly5tZ+TFYqK6 vBDw== 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 x3si2516540jan.98.2019.12.18.04.59.02 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 18 Dec 2019 04:59:02 -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 1ihYtr-00021I-Al; Wed, 18 Dec 2019 12:57:59 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1ihYaf-00085Z-Rk for xen-devel@lists.xenproject.org; Wed, 18 Dec 2019 12:38:09 +0000 X-Inumbo-ID: 39f4df2e-2193-11ea-88e7-bc764e2007e4 Received: from foss.arm.com (unknown [217.140.110.172]) by us1-rack-iad1.inumbo.com (Halon) with ESMTP id 39f4df2e-2193-11ea-88e7-bc764e2007e4; Wed, 18 Dec 2019 12:38:00 +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 03A0B30E; Wed, 18 Dec 2019 04:38:00 -0800 (PST) Received: from localhost (unknown [10.37.6.21]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 766853F6CF; Wed, 18 Dec 2019 04:37:59 -0800 (PST) From: Mark Brown To: Stefano Stabellini , Catalin Marinas , Will Deacon Date: Wed, 18 Dec 2019 12:37:56 +0000 Message-Id: <20191218123756.41363-1-broonie@kernel.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-Mailman-Approved-At: Wed, 18 Dec 2019 12:57:57 +0000 Subject: [Xen-devel] [PATCH] 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 , 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 --- This is part of a wider effort to convert all the arch/arm64 code. 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..305c2274b8eb 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);