From patchwork Thu Jan 2 21:13:52 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pasha Tatashin X-Patchwork-Id: 11316047 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 1EC60930 for ; Thu, 2 Jan 2020 21:15:19 +0000 (UTC) Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id EEEBA21582 for ; Thu, 2 Jan 2020 21:15:18 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=soleen.com header.i=@soleen.com header.b="VXzjqIBL" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org EEEBA21582 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=soleen.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1in7nD-00016y-NO; Thu, 02 Jan 2020 21:14:07 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1in7nC-00016r-Mk for xen-devel@lists.xenproject.org; Thu, 02 Jan 2020 21:14:06 +0000 X-Inumbo-ID: cce32792-2da4-11ea-88e7-bc764e2007e4 Received: from mail-qt1-x844.google.com (unknown [2607:f8b0:4864:20::844]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id cce32792-2da4-11ea-88e7-bc764e2007e4; Thu, 02 Jan 2020 21:14:02 +0000 (UTC) Received: by mail-qt1-x844.google.com with SMTP id n15so35572493qtp.5 for ; Thu, 02 Jan 2020 13:14:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=soleen.com; s=google; h=from:to:subject:date:message-id:in-reply-to:references; bh=sLfto7pDtwtBpFy7vHWfBkT+4MM0vP3E4VHWVzt8Ru4=; b=VXzjqIBLu3/HymaztMnJa4bgYGRIKjuKvwh/j9RPNIJWjpGXOEr1VmGNPSBxUDjp51 jCJlFgiNVRUfJZn6U40n9Z0YUEOc48bycD7pBbYa3hWgMnBJFiDGV2Zt4MkJ7YLqEtwM wGod6fo6QvA9UzKjlu2OU1A8lBDFiz0GoHozfSABoVdIzYWL89usU6RoBoA7YQDG+qny vXj8qD2XmnZ493Dr1R7rUb8bOQttoaqcAZD1nEYLr40Axq9CupzdqJcr6CALslZgu0W+ UGFrW3BmiMeOFLTiiQx1pNqrm7K+5BxUfVnvg1KFLiEbEZnx/1ujngCGiaofoUXqOJKY 8k5A== 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:in-reply-to :references; bh=sLfto7pDtwtBpFy7vHWfBkT+4MM0vP3E4VHWVzt8Ru4=; b=HKkQz8ARJ5TwEXjVORJ5+abCVI/kedE2ZIeTiAMY8XpZGc24yTLRdJShSGG0vp/35x LseSeZXbmKAgHlmX/kygUg/6sga56E/FFkJYrI4Div2cv93mhQs9kgB1eCP/wMVv0Ele oO46ZhkvO9xwWlyEVmZCYQhXtchT7ioI4KDrnPuzVC4w77O7uT7bJDi1qf08F4/TePdY ZekdTAgUmWVtzODagVXpF4uv1bsUeqSpT9bUyP5ZvkHH2hOXKMIFmU21/IHgR4rxCWCx uPxXlhchtExIvpP12IY9Ik07DpMrCgfSfNdl8vxwMiw9ZGSjLZdpWXZ1F30Y4heLK9Bx KkCA== X-Gm-Message-State: APjAAAWBFPEcBq+6DgiQR6tlGSgvObuUCpEDkupYlZ/VQCfNpH2e94zS ROL1ipZEq/qO1t/EP10S8m3BBg== X-Google-Smtp-Source: APXvYqxfIYiffLt+0sAKnDiS1/f+cfl6AxYc1/2VA/kOzDQqWA8cYvIwfRewT5+nHZ3IdtFcW1T0QA== X-Received: by 2002:ac8:5159:: with SMTP id h25mr62711218qtn.249.1577999642118; Thu, 02 Jan 2020 13:14:02 -0800 (PST) Received: from localhost.localdomain (c-73-69-118-222.hsd1.nh.comcast.net. [73.69.118.222]) by smtp.gmail.com with ESMTPSA id f97sm17384185qtb.18.2020.01.02.13.14.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 Jan 2020 13:14:01 -0800 (PST) From: Pavel Tatashin To: pasha.tatashin@soleen.com, jmorris@namei.org, sashal@kernel.org, linux-kernel@vger.kernel.org, catalin.marinas@arm.com, will@kernel.org, steve.capper@arm.com, linux-arm-kernel@lists.infradead.org, maz@kernel.org, james.morse@arm.com, vladimir.murzin@arm.com, mark.rutland@arm.com, tglx@linutronix.de, gregkh@linuxfoundation.org, allison@lohutok.net, info@metux.net, alexios.zavras@intel.com, sstabellini@kernel.org, boris.ostrovsky@oracle.com, jgross@suse.com, stefan@agner.ch, yamada.masahiro@socionext.com, xen-devel@lists.xenproject.org, linux@armlinux.org.uk, andrew.cooper3@citrix.com, julien@xen.org Date: Thu, 2 Jan 2020 16:13:52 -0500 Message-Id: <20200102211357.8042-2-pasha.tatashin@soleen.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200102211357.8042-1-pasha.tatashin@soleen.com> References: <20200102211357.8042-1-pasha.tatashin@soleen.com> Subject: [Xen-devel] [PATCH v5 1/6] arm/arm64/xen: hypercall.h add includes guards 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: , MIME-Version: 1.0 Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" The arm and arm64 versions of hypercall.h are missing the include guards. This is needed because C inlines for privcmd_call are going to be added to the files. Signed-off-by: Pavel Tatashin Reviewed-by: Julien Grall Acked-by: Stefano Stabellini --- arch/arm/include/asm/xen/hypercall.h | 4 ++++ arch/arm64/include/asm/xen/hypercall.h | 4 ++++ include/xen/arm/hypercall.h | 6 +++--- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/arch/arm/include/asm/xen/hypercall.h b/arch/arm/include/asm/xen/hypercall.h index 3522cbaed316..c6882bba5284 100644 --- a/arch/arm/include/asm/xen/hypercall.h +++ b/arch/arm/include/asm/xen/hypercall.h @@ -1 +1,5 @@ +#ifndef _ASM_ARM_XEN_HYPERCALL_H +#define _ASM_ARM_XEN_HYPERCALL_H #include + +#endif /* _ASM_ARM_XEN_HYPERCALL_H */ diff --git a/arch/arm64/include/asm/xen/hypercall.h b/arch/arm64/include/asm/xen/hypercall.h index 3522cbaed316..c3198f9ccd2e 100644 --- a/arch/arm64/include/asm/xen/hypercall.h +++ b/arch/arm64/include/asm/xen/hypercall.h @@ -1 +1,5 @@ +#ifndef _ASM_ARM64_XEN_HYPERCALL_H +#define _ASM_ARM64_XEN_HYPERCALL_H #include + +#endif /* _ASM_ARM64_XEN_HYPERCALL_H */ diff --git a/include/xen/arm/hypercall.h b/include/xen/arm/hypercall.h index b40485e54d80..babcc08af965 100644 --- a/include/xen/arm/hypercall.h +++ b/include/xen/arm/hypercall.h @@ -30,8 +30,8 @@ * IN THE SOFTWARE. */ -#ifndef _ASM_ARM_XEN_HYPERCALL_H -#define _ASM_ARM_XEN_HYPERCALL_H +#ifndef _ARM_XEN_HYPERCALL_H +#define _ARM_XEN_HYPERCALL_H #include @@ -88,4 +88,4 @@ MULTI_mmu_update(struct multicall_entry *mcl, struct mmu_update *req, BUG(); } -#endif /* _ASM_ARM_XEN_HYPERCALL_H */ +#endif /* _ARM_XEN_HYPERCALL_H */