From nobody Fri Nov 22 10:48:24 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass(p=reject dis=none) header.from=cloud.com ARC-Seal: i=1; a=rsa-sha256; t=1727958006; cv=none; d=zohomail.com; s=zohoarc; b=T457iccgJBuAFtoFbSQ/UKt7uT3QAatxWHKTbXO2euTJcznNBSRdKXHlVPoJBltHZzW+h4GbOesV+q9Oa7Je73xdZTHzD2UAQLgkbNL4F4TPGnZw9Ae9jfL3zPA0x8wzGMEi3nyebqQGYw1fcJ5meGmCTFUzWk7/33LAKTPuGfc= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1727958006; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=V1K5DpIuuiAoOLjSOuzhJNRH73q3U24/xQ48eKjPIM0=; b=Pv96QN4ZBirxHyerd9rVNHwE0CwqJop8QxtUKlGzN7zQ6eDb/y5kVLIZGzeD0dfQbTpKoFW8TQYTJ9KtyFIqCeL4OB+zx2x2rG2eoZlXr6EctR02qAgQlnSggccR9mLy5ZS3ulStuxXQN7fx65jtI5ibSGuSGRPPAykgCe2T2ok= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass header.from= (p=reject dis=none) Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1727958006887850.5176369949867; Thu, 3 Oct 2024 05:20:06 -0700 (PDT) Received: from list by lists.xenproject.org with outflank-mailman.809333.1221649 (Exim 4.92) (envelope-from ) id 1swKnt-0005wy-KQ; Thu, 03 Oct 2024 12:19:33 +0000 Received: by outflank-mailman (output) from mailman id 809333.1221649; Thu, 03 Oct 2024 12:19:33 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1swKnt-0005uH-7L; Thu, 03 Oct 2024 12:19:33 +0000 Received: by outflank-mailman (input) for mailman id 809333; Thu, 03 Oct 2024 12:19:31 +0000 Received: from se1-gles-sth1-in.inumbo.com ([159.253.27.254] helo=se1-gles-sth1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1swKnq-00043W-W6 for xen-devel@lists.xenproject.org; Thu, 03 Oct 2024 12:19:31 +0000 Received: from mail-ej1-x636.google.com (mail-ej1-x636.google.com [2a00:1450:4864:20::636]) by se1-gles-sth1.inumbo.com (Halon) with ESMTPS id bbe42089-8181-11ef-a0ba-8be0dac302b0; Thu, 03 Oct 2024 14:19:27 +0200 (CEST) Received: by mail-ej1-x636.google.com with SMTP id a640c23a62f3a-a8d51a7d6f5so129129466b.2 for ; Thu, 03 Oct 2024 05:19:27 -0700 (PDT) Received: from fziglio-desktop.. ([185.25.67.249]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a991047319asm77328366b.184.2024.10.03.05.19.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Oct 2024 05:19:24 -0700 (PDT) X-Outflank-Mailman: Message body and most headers restored to incoming version X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: bbe42089-8181-11ef-a0ba-8be0dac302b0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cloud.com; s=cloud; t=1727957967; x=1728562767; darn=lists.xenproject.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=V1K5DpIuuiAoOLjSOuzhJNRH73q3U24/xQ48eKjPIM0=; b=PE3p64+EiukmhhDh0fon4tnnmfGwPx8Cn3TgtaZwb9f1c9HqmtRqrwsJz6SEc+o+Lq bSbc+uQCitHn4FliiOfBawXEYY9/ua72tRlSWlPuylABB3r+/szAnHQ1u/S/qWa5uUeL L2PwI2g2hNafoQTx25DLZ8VNcrbTaddVCqLZ8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727957967; x=1728562767; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=V1K5DpIuuiAoOLjSOuzhJNRH73q3U24/xQ48eKjPIM0=; b=UnDjnes7ZWohU0xu3clz1bGpf6kmbWad2eOCDRsNSgLGwLOp6dOFCJo0LuYocCqfMV +6wKUYi4C34RrGTY2jiOCCU2Rb8DVPQVvl7Df1+JNjALyJxjFIXJ14b91S9iBMkGsZIF /fPgvK1Q3lD4Yx8155CC7w7VePSGRT5rItL1IEEI5AbIhjW2pf3B0d57FVFCBNkZJBO6 1P8r7tWkA38Awr4XtHG42c4vo6G865zZ8itSH+XNINVlnUpGzYQHcedboIS2X03G76Az Ae8/6IZDBTV3X5IOEhkbutW+XAL1tV4QmiRSHlcvQgfeINLtjAOJ+0fKc76cc2mZVtcG A6ZA== X-Gm-Message-State: AOJu0YxagSSK9pi0xpkO1ETrHtBvgRRs4a0CeUQIk+Pq52/LkODdrDHs BftVw5UXX3S3r7a8kOmXEAdMlfVCcpxp6ZhqbXYqjgUH/5XC8katwkvsXEDRNaHJUoA/g63xFcy y X-Google-Smtp-Source: AGHT+IGOYaVd9vab6Y3tCTTMtuDg8RiXUXOorDXeIy6fZU3+1inJJobVG6Cbe7W9LELCf5QnnGNX3w== X-Received: by 2002:a17:907:a02:b0:a83:8591:7505 with SMTP id a640c23a62f3a-a98f839ba30mr524497066b.59.1727957964940; Thu, 03 Oct 2024 05:19:24 -0700 (PDT) From: Frediano Ziglio To: xen-devel@lists.xenproject.org Cc: Frediano Ziglio , Stefano Stabellini , Julien Grall , Bertrand Marquis , Michal Orzel , Volodymyr Babchuk , =?UTF-8?q?Roger=20Pau=20Monn=C3=A9?= , Ross Lagerwall , Tamas K Lengyel , Alexandru Isaila , Petre Pircalabu Subject: [PATCH 05/20] xen: Update header guards - ARM Date: Thu, 3 Oct 2024 13:18:53 +0100 Message-Id: <20241003121908.362888-6-frediano.ziglio@cloud.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241003121908.362888-1-frediano.ziglio@cloud.com> References: <20241003121908.362888-1-frediano.ziglio@cloud.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @cloud.com) X-ZM-MESSAGEID: 1727958008687116600 Content-Type: text/plain; charset="utf-8" Updated headers related to ARM. Signed-off-by: Frediano Ziglio --- xen/arch/arm/arm32/lib/assembler.h | 6 +++--- xen/arch/arm/arm64/lib/assembler.h | 6 +++--- xen/arch/arm/decode.h | 6 +++--- xen/arch/arm/include/asm/acpi.h | 6 +++--- xen/arch/arm/include/asm/alternative.h | 6 +++--- xen/arch/arm/include/asm/arm32/atomic.h | 6 +++--- xen/arch/arm/include/asm/arm32/bitops.h | 6 +++--- xen/arch/arm/include/asm/arm32/bug.h | 6 +++--- xen/arch/arm/include/asm/arm32/cmpxchg.h | 4 ++-- xen/arch/arm/include/asm/arm32/flushtlb.h | 6 +++--- xen/arch/arm/include/asm/arm32/insn.h | 6 +++--- xen/arch/arm/include/asm/arm32/io.h | 6 +++--- xen/arch/arm/include/asm/arm32/macros.h | 6 +++--- xen/arch/arm/include/asm/arm32/mm.h | 6 +++--- xen/arch/arm/include/asm/arm32/nospec.h | 6 +++--- xen/arch/arm/include/asm/arm32/page.h | 6 +++--- xen/arch/arm/include/asm/arm32/processor.h | 6 +++--- xen/arch/arm/include/asm/arm32/sysregs.h | 6 +++--- xen/arch/arm/include/asm/arm32/system.h | 4 ++-- xen/arch/arm/include/asm/arm32/traps.h | 6 +++--- xen/arch/arm/include/asm/arm32/vfp.h | 6 +++--- xen/arch/arm/include/asm/arm64/atomic.h | 4 ++-- xen/arch/arm/include/asm/arm64/bitops.h | 6 +++--- xen/arch/arm/include/asm/arm64/brk.h | 6 +++--- xen/arch/arm/include/asm/arm64/bug.h | 6 +++--- xen/arch/arm/include/asm/arm64/cmpxchg.h | 4 ++-- xen/arch/arm/include/asm/arm64/cpufeature.h | 4 ++-- xen/arch/arm/include/asm/arm64/efibind.h | 4 ++-- xen/arch/arm/include/asm/arm64/flushtlb.h | 6 +++--- xen/arch/arm/include/asm/arm64/hsr.h | 6 +++--- xen/arch/arm/include/asm/arm64/insn.h | 6 +++--- xen/arch/arm/include/asm/arm64/io.h | 6 +++--- xen/arch/arm/include/asm/arm64/macros.h | 6 +++--- xen/arch/arm/include/asm/arm64/mm.h | 6 +++--- xen/arch/arm/include/asm/arm64/nospec.h | 6 +++--- xen/arch/arm/include/asm/arm64/page.h | 6 +++--- xen/arch/arm/include/asm/arm64/processor.h | 6 +++--- xen/arch/arm/include/asm/arm64/sve.h | 6 +++--- xen/arch/arm/include/asm/arm64/sysregs.h | 4 ++-- xen/arch/arm/include/asm/arm64/system.h | 4 ++-- xen/arch/arm/include/asm/arm64/traps.h | 6 +++--- xen/arch/arm/include/asm/arm64/vfp.h | 6 +++--- xen/arch/arm/include/asm/asm_defns.h | 6 +++--- xen/arch/arm/include/asm/atomic.h | 6 +++--- xen/arch/arm/include/asm/bitops.h | 6 +++--- xen/arch/arm/include/asm/bug.h | 6 +++--- xen/arch/arm/include/asm/byteorder.h | 6 +++--- xen/arch/arm/include/asm/cache.h | 4 ++-- xen/arch/arm/include/asm/cadence-uart.h | 4 ++-- xen/arch/arm/include/asm/config.h | 6 +++--- xen/arch/arm/include/asm/cpregs.h | 4 ++-- xen/arch/arm/include/asm/cpuerrata.h | 6 +++--- xen/arch/arm/include/asm/cpufeature.h | 4 ++-- xen/arch/arm/include/asm/current.h | 6 +++--- xen/arch/arm/include/asm/div64.h | 4 ++-- xen/arch/arm/include/asm/dom0less-build.h | 6 +++--- xen/arch/arm/include/asm/domain.h | 6 +++--- xen/arch/arm/include/asm/domain_build.h | 4 ++-- xen/arch/arm/include/asm/early_printk.h | 4 ++-- xen/arch/arm/include/asm/elf.h | 6 +++--- xen/arch/arm/include/asm/event.h | 4 ++-- xen/arch/arm/include/asm/exynos4210-uart.h | 6 +++--- xen/arch/arm/include/asm/fixmap.h | 6 +++--- xen/arch/arm/include/asm/flushtlb.h | 6 +++--- xen/arch/arm/include/asm/gic.h | 4 ++-- xen/arch/arm/include/asm/gic_v3_defs.h | 6 +++--- xen/arch/arm/include/asm/gic_v3_its.h | 4 ++-- xen/arch/arm/include/asm/grant_table.h | 6 +++--- xen/arch/arm/include/asm/guest_access.h | 6 +++--- xen/arch/arm/include/asm/guest_atomics.h | 6 +++--- xen/arch/arm/include/asm/guest_walk.h | 6 +++--- xen/arch/arm/include/asm/hsr.h | 6 +++--- xen/arch/arm/include/asm/hypercall.h | 8 ++++---- xen/arch/arm/include/asm/imx-lpuart.h | 6 +++--- xen/arch/arm/include/asm/insn.h | 6 +++--- xen/arch/arm/include/asm/io.h | 4 ++-- xen/arch/arm/include/asm/iommu.h | 6 +++--- xen/arch/arm/include/asm/iommu_fwspec.h | 6 +++--- xen/arch/arm/include/asm/ioreq.h | 6 +++--- xen/arch/arm/include/asm/irq.h | 6 +++--- xen/arch/arm/include/asm/kernel.h | 6 +++--- xen/arch/arm/include/asm/livepatch.h | 6 +++--- xen/arch/arm/include/asm/lpae.h | 6 +++--- xen/arch/arm/include/asm/macros.h | 4 ++-- xen/arch/arm/include/asm/mem_access.h | 6 +++--- xen/arch/arm/include/asm/mm.h | 6 +++--- xen/arch/arm/include/asm/mmio.h | 6 +++--- xen/arch/arm/include/asm/mmu/layout.h | 6 +++--- xen/arch/arm/include/asm/mmu/mm.h | 6 +++--- xen/arch/arm/include/asm/mmu/p2m.h | 6 +++--- xen/arch/arm/include/asm/monitor.h | 6 +++--- xen/arch/arm/include/asm/new_vgic.h | 6 +++--- xen/arch/arm/include/asm/nospec.h | 6 +++--- xen/arch/arm/include/asm/p2m.h | 8 ++++---- xen/arch/arm/include/asm/page-bits.h | 6 +++--- xen/arch/arm/include/asm/page.h | 6 +++--- xen/arch/arm/include/asm/pci.h | 6 +++--- xen/arch/arm/include/asm/perfc.h | 4 ++-- xen/arch/arm/include/asm/perfc_defn.h | 6 +++--- xen/arch/arm/include/asm/pl011-uart.h | 6 +++--- xen/arch/arm/include/asm/platform.h | 6 +++--- xen/arch/arm/include/asm/platforms/exynos5.h | 6 +++--- xen/arch/arm/include/asm/platforms/midway.h | 2 +- xen/arch/arm/include/asm/platforms/omap5.h | 4 ++-- xen/arch/arm/include/asm/platforms/vexpress.h | 6 +++--- xen/arch/arm/include/asm/platforms/xilinx-zynqmp-eemi.h | 6 +++--- xen/arch/arm/include/asm/pmap.h | 6 +++--- xen/arch/arm/include/asm/processor.h | 6 +++--- xen/arch/arm/include/asm/procinfo.h | 4 ++-- xen/arch/arm/include/asm/psci.h | 6 +++--- xen/arch/arm/include/asm/regs.h | 6 +++--- xen/arch/arm/include/asm/scif-uart.h | 6 +++--- xen/arch/arm/include/asm/setup.h | 4 ++-- xen/arch/arm/include/asm/short-desc.h | 6 +++--- xen/arch/arm/include/asm/smccc.h | 6 +++--- xen/arch/arm/include/asm/smp.h | 4 ++-- xen/arch/arm/include/asm/spinlock.h | 6 +++--- xen/arch/arm/include/asm/static-evtchn.h | 6 +++--- xen/arch/arm/include/asm/static-memory.h | 6 +++--- xen/arch/arm/include/asm/static-shmem.h | 6 +++--- xen/arch/arm/include/asm/string.h | 6 +++--- xen/arch/arm/include/asm/sysregs.h | 6 +++--- xen/arch/arm/include/asm/system.h | 4 ++-- xen/arch/arm/include/asm/tee/ffa.h | 6 +++--- xen/arch/arm/include/asm/tee/optee_msg.h | 6 +++--- xen/arch/arm/include/asm/tee/optee_rpc_cmd.h | 6 +++--- xen/arch/arm/include/asm/tee/optee_smc.h | 6 +++--- xen/arch/arm/include/asm/tee/tee.h | 6 +++--- xen/arch/arm/include/asm/time.h | 6 +++--- xen/arch/arm/include/asm/traps.h | 6 +++--- xen/arch/arm/include/asm/types.h | 6 +++--- xen/arch/arm/include/asm/vfp.h | 6 +++--- xen/arch/arm/include/asm/vgic-emul.h | 6 +++--- xen/arch/arm/include/asm/vgic.h | 6 +++--- xen/arch/arm/include/asm/vpl011.h | 6 +++--- xen/arch/arm/include/asm/vpsci.h | 6 +++--- xen/arch/arm/include/asm/vreg.h | 6 +++--- xen/arch/arm/include/asm/vtimer.h | 4 ++-- xen/arch/arm/tee/ffa_private.h | 6 +++--- xen/arch/arm/vgic/vgic-mmio.h | 4 ++-- xen/arch/arm/vgic/vgic.h | 4 ++-- xen/arch/arm/vpci.h | 6 +++--- xen/arch/arm/vuart.h | 6 +++--- xen/drivers/passthrough/arm/smmu-v3.h | 6 +++--- xen/include/public/arch-arm.h | 6 +++--- xen/include/public/arch-arm/hvm/save.h | 4 ++-- xen/include/public/arch-arm/smccc.h | 6 +++--- 147 files changed, 411 insertions(+), 411 deletions(-) diff --git a/xen/arch/arm/arm32/lib/assembler.h b/xen/arch/arm/arm32/lib/as= sembler.h index 6de2638a36..a79eef420f 100644 --- a/xen/arch/arm/arm32/lib/assembler.h +++ b/xen/arch/arm/arm32/lib/assembler.h @@ -14,8 +14,8 @@ * Do not include any C declarations in this file - it is included by * assembler source. */ -#ifndef __ASM_ASSEMBLER_H__ -#define __ASM_ASSEMBLER_H__ +#ifndef ARM__ARM32__LIB__ASSEMBLER_H +#define ARM__ARM32__LIB__ASSEMBLER_H =20 #ifndef __ASSEMBLY__ #error "Only include this from assembly code" @@ -322,4 +322,4 @@ .size \name , . - \name .endm =20 -#endif /* __ASM_ASSEMBLER_H__ */ +#endif /* ARM__ARM32__LIB__ASSEMBLER_H */ diff --git a/xen/arch/arm/arm64/lib/assembler.h b/xen/arch/arm/arm64/lib/as= sembler.h index 3f9c0dcf5d..6560fae1f5 100644 --- a/xen/arch/arm/arm64/lib/assembler.h +++ b/xen/arch/arm/arm64/lib/assembler.h @@ -1,5 +1,5 @@ -#ifndef __ASM_ASSEMBLER_H__ -#define __ASM_ASSEMBLER_H__ +#ifndef ARM__ARM64__LIB__ASSEMBLER_H +#define ARM__ARM64__LIB__ASSEMBLER_H =20 #ifndef __ASSEMBLY__ #error "Only include this from assembly code" @@ -9,4 +9,4 @@ #define CPU_BE(x...) #define CPU_LE(x...) x =20 -#endif /* __ASM_ASSEMBLER_H__ */ +#endif /* ARM__ARM64__LIB__ASSEMBLER_H */ diff --git a/xen/arch/arm/decode.h b/xen/arch/arm/decode.h index 13db8ac968..00e9bbe085 100644 --- a/xen/arch/arm/decode.h +++ b/xen/arch/arm/decode.h @@ -17,8 +17,8 @@ * GNU General Public License for more details. */ =20 -#ifndef __ARCH_ARM_DECODE_H_ -#define __ARCH_ARM_DECODE_H_ +#ifndef ARM__DECODE_H +#define ARM__DECODE_H =20 #include #include @@ -73,7 +73,7 @@ union instr { int decode_instruction(const struct cpu_user_regs *regs, mmio_info_t *info); =20 -#endif /* __ARCH_ARM_DECODE_H_ */ +#endif /* ARM__DECODE_H */ =20 /* * Local variables: diff --git a/xen/arch/arm/include/asm/acpi.h b/xen/arch/arm/include/asm/acp= i.h index 13756dd341..364cd671b4 100644 --- a/xen/arch/arm/include/asm/acpi.h +++ b/xen/arch/arm/include/asm/acpi.h @@ -19,8 +19,8 @@ * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~= ~~~ */ =20 -#ifndef _ASM_ARM_ACPI_H -#define _ASM_ARM_ACPI_H +#ifndef ASM__ARM__ACPI_H +#define ASM__ARM__ACPI_H =20 #include =20 @@ -78,4 +78,4 @@ static inline void enable_acpi(void) #define enable_acpi() #endif =20 -#endif /*_ASM_ARM_ACPI_H*/ +#endif /*ASM__ARM__ACPI_H*/ diff --git a/xen/arch/arm/include/asm/alternative.h b/xen/arch/arm/include/= asm/alternative.h index 22477d9497..9a03298a41 100644 --- a/xen/arch/arm/include/asm/alternative.h +++ b/xen/arch/arm/include/asm/alternative.h @@ -1,5 +1,5 @@ -#ifndef __ASM_ALTERNATIVE_H -#define __ASM_ALTERNATIVE_H +#ifndef ASM__ARM__ALTERNATIVE_H +#define ASM__ARM__ALTERNATIVE_H =20 #include #include @@ -218,4 +218,4 @@ alternative_endif #define ALTERNATIVE(oldinstr, newinstr, ...) \ _ALTERNATIVE_CFG(oldinstr, newinstr, __VA_ARGS__, 1) =20 -#endif /* __ASM_ALTERNATIVE_H */ +#endif /* ASM__ARM__ALTERNATIVE_H */ diff --git a/xen/arch/arm/include/asm/arm32/atomic.h b/xen/arch/arm/include= /asm/arm32/atomic.h index 33f9e73b19..f63efd173c 100644 --- a/xen/arch/arm/include/asm/arm32/atomic.h +++ b/xen/arch/arm/include/asm/arm32/atomic.h @@ -8,8 +8,8 @@ * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. */ -#ifndef __ARCH_ARM_ARM32_ATOMIC__ -#define __ARCH_ARM_ARM32_ATOMIC__ +#ifndef ASM__ARM__ARM32__ATOMIC_H +#define ASM__ARM__ARM32__ATOMIC_H =20 /* * ARMv6 UP and SMP safe atomic ops. We use load exclusive and @@ -164,7 +164,7 @@ static inline int __atomic_add_unless(atomic_t *v, int = a, int u) return oldval; } =20 -#endif /* __ARCH_ARM_ARM32_ATOMIC__ */ +#endif /* ASM__ARM__ARM32__ATOMIC_H */ /* * Local variables: * mode: C diff --git a/xen/arch/arm/include/asm/arm32/bitops.h b/xen/arch/arm/include= /asm/arm32/bitops.h index 0d7bb12d5c..6e4018df0c 100644 --- a/xen/arch/arm/include/asm/arm32/bitops.h +++ b/xen/arch/arm/include/asm/arm32/bitops.h @@ -1,5 +1,5 @@ -#ifndef _ARM_ARM32_BITOPS_H -#define _ARM_ARM32_BITOPS_H +#ifndef ASM__ARM__ARM32__BITOPS_H +#define ASM__ARM__ARM32__BITOPS_H =20 /* * Little endian assembly bitops. nr =3D 0 -> byte 0 bit 0. @@ -37,4 +37,4 @@ extern int _find_next_bit_be(const unsigned long *p, int = size, int offset); =20 #endif =20 -#endif /* _ARM_ARM32_BITOPS_H */ +#endif /* ASM__ARM__ARM32__BITOPS_H */ diff --git a/xen/arch/arm/include/asm/arm32/bug.h b/xen/arch/arm/include/as= m/arm32/bug.h index 25cce151dc..638a8be149 100644 --- a/xen/arch/arm/include/asm/arm32/bug.h +++ b/xen/arch/arm/include/asm/arm32/bug.h @@ -1,5 +1,5 @@ -#ifndef __ARM_ARM32_BUG_H__ -#define __ARM_ARM32_BUG_H__ +#ifndef ASM__ARM__ARM32__BUG_H +#define ASM__ARM__ARM32__BUG_H =20 #include =20 @@ -12,4 +12,4 @@ =20 #define BUG_FN_REG r0 =20 -#endif /* __ARM_ARM32_BUG_H__ */ +#endif /* ASM__ARM__ARM32__BUG_H */ diff --git a/xen/arch/arm/include/asm/arm32/cmpxchg.h b/xen/arch/arm/includ= e/asm/arm32/cmpxchg.h index 8455eb7cc3..13f6a9cf19 100644 --- a/xen/arch/arm/include/asm/arm32/cmpxchg.h +++ b/xen/arch/arm/include/asm/arm32/cmpxchg.h @@ -1,5 +1,5 @@ -#ifndef __ASM_ARM32_CMPXCHG_H -#define __ASM_ARM32_CMPXCHG_H +#ifndef ASM__ARM__ARM32__CMPXCHG_H +#define ASM__ARM__ARM32__CMPXCHG_H =20 #include #include diff --git a/xen/arch/arm/include/asm/arm32/flushtlb.h b/xen/arch/arm/inclu= de/asm/arm32/flushtlb.h index 61c25a3189..dfeb0f3542 100644 --- a/xen/arch/arm/include/asm/arm32/flushtlb.h +++ b/xen/arch/arm/include/asm/arm32/flushtlb.h @@ -1,5 +1,5 @@ -#ifndef __ASM_ARM_ARM32_FLUSHTLB_H__ -#define __ASM_ARM_ARM32_FLUSHTLB_H__ +#ifndef ASM__ARM__ARM32__FLUSHTLB_H +#define ASM__ARM__ARM32__FLUSHTLB_H =20 /* * Every invalidation operation use the following patterns: @@ -57,7 +57,7 @@ static inline void __flush_xen_tlb_one(vaddr_t va) asm volatile(STORE_CP32(0, TLBIMVAHIS) : : "r" (va) : "memory"); } =20 -#endif /* __ASM_ARM_ARM32_FLUSHTLB_H__ */ +#endif /* ASM__ARM__ARM32__FLUSHTLB_H */ /* * Local variables: * mode: C diff --git a/xen/arch/arm/include/asm/arm32/insn.h b/xen/arch/arm/include/a= sm/arm32/insn.h index c800cbfff5..9693ad0606 100644 --- a/xen/arch/arm/include/asm/arm32/insn.h +++ b/xen/arch/arm/include/asm/arm32/insn.h @@ -13,8 +13,8 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -#ifndef __ARCH_ARM_ARM32_INSN -#define __ARCH_ARM_ARM32_INSN +#ifndef ASM__ARM__ARM32__INSN_H +#define ASM__ARM__ARM32__INSN_H =20 #include =20 @@ -60,7 +60,7 @@ static inline uint32_t insn_set_branch_offset(uint32_t in= sn, int32_t offset) return aarch32_set_branch_offset(insn, offset); } =20 -#endif /* !__ARCH_ARM_ARM32_INSN */ +#endif /* !ASM__ARM__ARM32__INSN_H */ /* * Local variables: * mode: C diff --git a/xen/arch/arm/include/asm/arm32/io.h b/xen/arch/arm/include/asm= /arm32/io.h index 782b564809..c92dcaf1ca 100644 --- a/xen/arch/arm/include/asm/arm32/io.h +++ b/xen/arch/arm/include/asm/arm32/io.h @@ -18,8 +18,8 @@ * 18-Jun-2000 RMK Removed virt_to_* and friends definitions * 05-Oct-2004 BJD Moved memory string functions to use void __iomem */ -#ifndef _ARM_ARM32_IO_H -#define _ARM_ARM32_IO_H +#ifndef ASM__ARM__ARM32__IO_H +#define ASM__ARM__ARM32__IO_H =20 #include #include @@ -113,4 +113,4 @@ static inline void writeq_relaxed_non_atomic(u64 val, v= olatile void __iomem *add #define writew(v,c) ({ __iowmb(); writew_relaxed(v,c); }) #define writel(v,c) ({ __iowmb(); writel_relaxed(v,c); }) =20 -#endif /* _ARM_ARM32_IO_H */ +#endif /* ASM__ARM__ARM32__IO_H */ diff --git a/xen/arch/arm/include/asm/arm32/macros.h b/xen/arch/arm/include= /asm/arm32/macros.h index db681a7c7e..dc907117a2 100644 --- a/xen/arch/arm/include/asm/arm32/macros.h +++ b/xen/arch/arm/include/asm/arm32/macros.h @@ -1,5 +1,5 @@ -#ifndef __ASM_ARM_ARM32_MACROS_H -#define __ASM_ARM_ARM32_MACROS_H +#ifndef ASM__ARM__ARM32__MACROS_H +#define ASM__ARM__ARM32__MACROS_H =20 .macro ret mov pc, lr @@ -75,4 +75,4 @@ =20 #endif /* !CONFIG_EARLY_PRINTK */ =20 -#endif /* __ASM_ARM_ARM32_MACROS_H */ +#endif /* ASM__ARM__ARM32__MACROS_H */ diff --git a/xen/arch/arm/include/asm/arm32/mm.h b/xen/arch/arm/include/asm= /arm32/mm.h index 856f2dbec4..4f22d9943a 100644 --- a/xen/arch/arm/include/asm/arm32/mm.h +++ b/xen/arch/arm/include/asm/arm32/mm.h @@ -1,5 +1,5 @@ -#ifndef __ARM_ARM32_MM_H__ -#define __ARM_ARM32_MM_H__ +#ifndef ASM__ARM__ARM32__MM_H +#define ASM__ARM__ARM32__MM_H =20 #include =20 @@ -22,7 +22,7 @@ static inline void arch_setup_page_tables(void) { } =20 -#endif /* __ARM_ARM32_MM_H__ */ +#endif /* ASM__ARM__ARM32__MM_H */ =20 /* * Local variables: diff --git a/xen/arch/arm/include/asm/arm32/nospec.h b/xen/arch/arm/include= /asm/arm32/nospec.h index be3c7712c8..ecb627b08f 100644 --- a/xen/arch/arm/include/asm/arm32/nospec.h +++ b/xen/arch/arm/include/asm/arm32/nospec.h @@ -1,6 +1,6 @@ /* Portions taken from Linux arch arm */ -#ifndef __ASM_ARM32_NOSPEC_H -#define __ASM_ARM32_NOSPEC_H +#ifndef ASM__ARM__ARM32__NOSPEC_H +#define ASM__ARM__ARM32__NOSPEC_H =20 #define CSDB ".inst 0xe320f014" =20 @@ -20,7 +20,7 @@ static inline unsigned long array_index_mask_nospec(unsig= ned long idx, } #define array_index_mask_nospec array_index_mask_nospec =20 -#endif /* __ASM_ARM32_NOSPEC_H */ +#endif /* ASM__ARM__ARM32__NOSPEC_H */ /* * Local variables: * mode: C diff --git a/xen/arch/arm/include/asm/arm32/page.h b/xen/arch/arm/include/a= sm/arm32/page.h index 6d1ff0636c..09e631d94a 100644 --- a/xen/arch/arm/include/asm/arm32/page.h +++ b/xen/arch/arm/include/asm/arm32/page.h @@ -1,5 +1,5 @@ -#ifndef __ARM_ARM32_PAGE_H__ -#define __ARM_ARM32_PAGE_H__ +#ifndef ASM__ARM__ARM32__PAGE_H +#define ASM__ARM__ARM32__PAGE_H =20 #ifndef __ASSEMBLY__ =20 @@ -89,7 +89,7 @@ static inline uint64_t gva_to_ipa_par(vaddr_t va, unsigne= d int flags) =20 #endif /* __ASSEMBLY__ */ =20 -#endif /* __ARM_ARM32_PAGE_H__ */ +#endif /* ASM__ARM__ARM32__PAGE_H */ =20 /* * Local variables: diff --git a/xen/arch/arm/include/asm/arm32/processor.h b/xen/arch/arm/incl= ude/asm/arm32/processor.h index 4e679f3273..c9160c69e8 100644 --- a/xen/arch/arm/include/asm/arm32/processor.h +++ b/xen/arch/arm/include/asm/arm32/processor.h @@ -1,5 +1,5 @@ -#ifndef __ASM_ARM_ARM32_PROCESSOR_H -#define __ASM_ARM_ARM32_PROCESSOR_H +#ifndef ASM__ARM__ARM32__PROCESSOR_H +#define ASM__ARM__ARM32__PROCESSOR_H =20 #define ACTLR_CAXX_SMP (1<<6) =20 @@ -58,7 +58,7 @@ struct cpu_user_regs =20 #endif =20 -#endif /* __ASM_ARM_ARM32_PROCESSOR_H */ +#endif /* ASM__ARM__ARM32__PROCESSOR_H */ /* * Local variables: * mode: C diff --git a/xen/arch/arm/include/asm/arm32/sysregs.h b/xen/arch/arm/includ= e/asm/arm32/sysregs.h index 22871999af..3846ca73f4 100644 --- a/xen/arch/arm/include/asm/arm32/sysregs.h +++ b/xen/arch/arm/include/asm/arm32/sysregs.h @@ -1,5 +1,5 @@ -#ifndef __ASM_ARM_ARM32_SYSREGS_H -#define __ASM_ARM_ARM32_SYSREGS_H +#ifndef ASM__ARM__ARM32__SYSREGS_H +#define ASM__ARM__ARM32__SYSREGS_H =20 #include #include @@ -86,7 +86,7 @@ =20 #endif /* __ASSEMBLY__ */ =20 -#endif /* __ASM_ARM_ARM32_SYSREGS_H */ +#endif /* ASM__ARM__ARM32__SYSREGS_H */ /* * Local variables: * mode: C diff --git a/xen/arch/arm/include/asm/arm32/system.h b/xen/arch/arm/include= /asm/arm32/system.h index c617b40438..96060032a9 100644 --- a/xen/arch/arm/include/asm/arm32/system.h +++ b/xen/arch/arm/include/asm/arm32/system.h @@ -1,6 +1,6 @@ /* Portions taken from Linux arch arm */ -#ifndef __ASM_ARM32_SYSTEM_H -#define __ASM_ARM32_SYSTEM_H +#ifndef ASM__ARM__ARM32__SYSTEM_H +#define ASM__ARM__ARM32__SYSTEM_H =20 #include =20 diff --git a/xen/arch/arm/include/asm/arm32/traps.h b/xen/arch/arm/include/= asm/arm32/traps.h index e3c4a8b473..c234e4c051 100644 --- a/xen/arch/arm/include/asm/arm32/traps.h +++ b/xen/arch/arm/include/asm/arm32/traps.h @@ -1,7 +1,7 @@ -#ifndef __ASM_ARM32_TRAPS__ -#define __ASM_ARM32_TRAPS__ +#ifndef ASM__ARM__ARM32__TRAPS_H +#define ASM__ARM__ARM32__TRAPS_H =20 -#endif /* __ASM_ARM32_TRAPS__ */ +#endif /* ASM__ARM__ARM32__TRAPS_H */ /* * Local variables: * mode: C diff --git a/xen/arch/arm/include/asm/arm32/vfp.h b/xen/arch/arm/include/as= m/arm32/vfp.h index 2f2e4b24bb..fe17ff7b79 100644 --- a/xen/arch/arm/include/asm/arm32/vfp.h +++ b/xen/arch/arm/include/asm/arm32/vfp.h @@ -1,5 +1,5 @@ -#ifndef _ARM_ARM32_VFP_H -#define _ARM_ARM32_VFP_H +#ifndef ASM__ARM__ARM32__VFP_H +#define ASM__ARM__ARM32__VFP_H =20 #define FPEXC_EX (1U << 31) #define FPEXC_EN (1U << 30) @@ -30,7 +30,7 @@ struct vfp_state uint32_t fpinst2; }; =20 -#endif /* _ARM_ARM32_VFP_H */ +#endif /* ASM__ARM__ARM32__VFP_H */ /* * Local variables: * mode: C diff --git a/xen/arch/arm/include/asm/arm64/atomic.h b/xen/arch/arm/include= /asm/arm64/atomic.h index 4460165295..1d4c886a07 100644 --- a/xen/arch/arm/include/asm/arm64/atomic.h +++ b/xen/arch/arm/include/asm/arm64/atomic.h @@ -19,8 +19,8 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -#ifndef __ARCH_ARM_ARM64_ATOMIC -#define __ARCH_ARM_ARM64_ATOMIC +#ifndef ASM__ARM__ARM64__ATOMIC_H +#define ASM__ARM__ARM64__ATOMIC_H =20 /* * AArch64 UP and SMP safe atomic ops. We use load exclusive and diff --git a/xen/arch/arm/include/asm/arm64/bitops.h b/xen/arch/arm/include= /asm/arm64/bitops.h index a6135838dc..93ec1bfc98 100644 --- a/xen/arch/arm/include/asm/arm64/bitops.h +++ b/xen/arch/arm/include/asm/arm64/bitops.h @@ -1,5 +1,5 @@ -#ifndef _ARM_ARM64_BITOPS_H -#define _ARM_ARM64_BITOPS_H +#ifndef ASM__ARM__ARM64__BITOPS_H +#define ASM__ARM__ARM64__BITOPS_H =20 /* Based on linux/include/asm-generic/bitops/find.h */ =20 @@ -10,7 +10,7 @@ =20 #endif /* CONFIG_GENERIC_FIND_FIRST_BIT */ =20 -#endif /* _ARM_ARM64_BITOPS_H */ +#endif /* ASM__ARM__ARM64__BITOPS_H */ /* * Local variables: * mode: C diff --git a/xen/arch/arm/include/asm/arm64/brk.h b/xen/arch/arm/include/as= m/arm64/brk.h index 3af153a053..e36841d4ca 100644 --- a/xen/arch/arm/include/asm/arm64/brk.h +++ b/xen/arch/arm/include/asm/arm64/brk.h @@ -6,8 +6,8 @@ * published by the Free Software Foundation. */ =20 -#ifndef __ASM_ARM_ARM64_BRK -#define __ASM_ARM_ARM64_BRK +#ifndef ASM__ARM__ARM64__BRK_H +#define ASM__ARM__ARM64__BRK_H =20 /* * #imm16 values used for BRK instruction generation @@ -28,7 +28,7 @@ */ #define AARCH64_BREAK_FAULT (AARCH64_BREAK_MON | (BRK_FAULT_IMM << 5)) =20 -#endif /* !__ASM_ARM_ARM64_BRK */ +#endif /* !ASM__ARM__ARM64__BRK_H */ /* * Local variables: * mode: C diff --git a/xen/arch/arm/include/asm/arm64/bug.h b/xen/arch/arm/include/as= m/arm64/bug.h index 5e11c0dfd5..aedd7c20a7 100644 --- a/xen/arch/arm/include/asm/arm64/bug.h +++ b/xen/arch/arm/include/asm/arm64/bug.h @@ -1,5 +1,5 @@ -#ifndef __ARM_ARM64_BUG_H__ -#define __ARM_ARM64_BUG_H__ +#ifndef ASM__ARM__ARM64__BUG_H +#define ASM__ARM__ARM64__BUG_H =20 #include #include @@ -8,4 +8,4 @@ =20 #define BUG_FN_REG x0 =20 -#endif /* __ARM_ARM64_BUG_H__ */ +#endif /* ASM__ARM__ARM64__BUG_H */ diff --git a/xen/arch/arm/include/asm/arm64/cmpxchg.h b/xen/arch/arm/includ= e/asm/arm64/cmpxchg.h index f160e8e7bc..40db44da13 100644 --- a/xen/arch/arm/include/asm/arm64/cmpxchg.h +++ b/xen/arch/arm/include/asm/arm64/cmpxchg.h @@ -1,5 +1,5 @@ -#ifndef __ASM_ARM64_CMPXCHG_H -#define __ASM_ARM64_CMPXCHG_H +#ifndef ASM__ARM__ARM64__CMPXCHG_H +#define ASM__ARM__ARM64__CMPXCHG_H =20 #include =20 diff --git a/xen/arch/arm/include/asm/arm64/cpufeature.h b/xen/arch/arm/inc= lude/asm/arm64/cpufeature.h index 1bb503e857..52cc65f307 100644 --- a/xen/arch/arm/include/asm/arm64/cpufeature.h +++ b/xen/arch/arm/include/asm/arm64/cpufeature.h @@ -1,5 +1,5 @@ -#ifndef __ASM_ARM_ARM64_CPUFEATURES_H -#define __ASM_ARM_ARM64_CPUFEATURES_H +#ifndef ASM__ARM__ARM64__CPUFEATURE_H +#define ASM__ARM__ARM64__CPUFEATURE_H =20 /* * CPU feature register tracking diff --git a/xen/arch/arm/include/asm/arm64/efibind.h b/xen/arch/arm/includ= e/asm/arm64/efibind.h index a1323d452e..cdc25f9a9c 100644 --- a/xen/arch/arm/include/asm/arm64/efibind.h +++ b/xen/arch/arm/include/asm/arm64/efibind.h @@ -16,8 +16,8 @@ Abstract: Revision History =20 --*/ -#ifndef AARCH64_EFI_BIND -#define AARCH64_EFI_BIND +#ifndef ASM__ARM__ARM64__EFIBIND_H +#define ASM__ARM__ARM64__EFIBIND_H #ifndef __GNUC__ #pragma pack() #endif diff --git a/xen/arch/arm/include/asm/arm64/flushtlb.h b/xen/arch/arm/inclu= de/asm/arm64/flushtlb.h index 45642201d1..90b8187ef1 100644 --- a/xen/arch/arm/include/asm/arm64/flushtlb.h +++ b/xen/arch/arm/include/asm/arm64/flushtlb.h @@ -1,5 +1,5 @@ -#ifndef __ASM_ARM_ARM64_FLUSHTLB_H__ -#define __ASM_ARM_ARM64_FLUSHTLB_H__ +#ifndef ASM__ARM__ARM64__FLUSHTLB_H +#define ASM__ARM__ARM64__FLUSHTLB_H =20 /* * Every invalidation operation use the following patterns: @@ -90,7 +90,7 @@ TLB_HELPER_VA(__flush_xen_tlb_one, vae2is) #undef TLB_HELPER #undef TLB_HELPER_VA =20 -#endif /* __ASM_ARM_ARM64_FLUSHTLB_H__ */ +#endif /* ASM__ARM__ARM64__FLUSHTLB_H */ /* * Local variables: * mode: C diff --git a/xen/arch/arm/include/asm/arm64/hsr.h b/xen/arch/arm/include/as= m/arm64/hsr.h index 1495ccddea..7d89eca4b1 100644 --- a/xen/arch/arm/include/asm/arm64/hsr.h +++ b/xen/arch/arm/include/asm/arm64/hsr.h @@ -1,5 +1,5 @@ -#ifndef __ASM_ARM_ARM64_HSR_H -#define __ASM_ARM_ARM64_HSR_H +#ifndef ASM__ARM__ARM64__HSR_H +#define ASM__ARM__ARM64__HSR_H =20 /* AArch 64 System Register Encodings */ #define __HSR_SYSREG_c0 0 @@ -150,7 +150,7 @@ #define HSR_SYSREG_ID_AA64AFR1_EL1 HSR_SYSREG(3,0,c0,c5,5) #define HSR_SYSREG_ID_AA64ZFR0_EL1 HSR_SYSREG(3,0,c0,c4,4) =20 -#endif /* __ASM_ARM_ARM64_HSR_H */ +#endif /* ASM__ARM__ARM64__HSR_H */ =20 /* * Local variables: diff --git a/xen/arch/arm/include/asm/arm64/insn.h b/xen/arch/arm/include/a= sm/arm64/insn.h index ab290030ab..bd701e96c5 100644 --- a/xen/arch/arm/include/asm/arm64/insn.h +++ b/xen/arch/arm/include/asm/arm64/insn.h @@ -16,8 +16,8 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -#ifndef __ARCH_ARM_ARM64_INSN -#define __ARCH_ARM_ARM64_INSN +#ifndef ASM__ARM__ARM64__INSN_H +#define ASM__ARM__ARM64__INSN_H =20 #include #include @@ -99,7 +99,7 @@ static inline uint32_t insn_set_branch_offset(uint32_t in= sn, int32_t offset) return aarch64_set_branch_offset(insn, offset); } =20 -#endif /* !__ARCH_ARM_ARM64_INSN */ +#endif /* !ASM__ARM__ARM64__INSN_H */ /* * Local variables: * mode: C diff --git a/xen/arch/arm/include/asm/arm64/io.h b/xen/arch/arm/include/asm= /arm64/io.h index 2e2ab24f78..607d2501f4 100644 --- a/xen/arch/arm/include/asm/arm64/io.h +++ b/xen/arch/arm/include/asm/arm64/io.h @@ -17,8 +17,8 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -#ifndef _ARM_ARM64_IO_H -#define _ARM_ARM64_IO_H +#ifndef ASM__ARM__ARM64__IO_H +#define ASM__ARM__ARM64__IO_H =20 #include #include @@ -147,4 +147,4 @@ static inline void emulate_write(u64 addr) #define outw(v, c) ( emulate_write(c) ) #define outl(v, c) ( emulate_write(c) ) =20 -#endif /* _ARM_ARM64_IO_H */ +#endif /* ASM__ARM__ARM64__IO_H */ diff --git a/xen/arch/arm/include/asm/arm64/macros.h b/xen/arch/arm/include= /asm/arm64/macros.h index 46f50655ad..968198bceb 100644 --- a/xen/arch/arm/include/asm/arm64/macros.h +++ b/xen/arch/arm/include/asm/arm64/macros.h @@ -1,5 +1,5 @@ -#ifndef __ASM_ARM_ARM64_MACROS_H -#define __ASM_ARM_ARM64_MACROS_H +#ifndef ASM__ARM__ARM64__MACROS_H +#define ASM__ARM__ARM64__MACROS_H =20 /* * @dst: Result of get_cpu_info() @@ -96,5 +96,5 @@ */ lr .req x30 /* link register */ =20 -#endif /* __ASM_ARM_ARM64_MACROS_H */ +#endif /* ASM__ARM__ARM64__MACROS_H */ =20 diff --git a/xen/arch/arm/include/asm/arm64/mm.h b/xen/arch/arm/include/asm= /arm64/mm.h index b4f7545d2c..b79fd4d2cd 100644 --- a/xen/arch/arm/include/asm/arm64/mm.h +++ b/xen/arch/arm/include/asm/arm64/mm.h @@ -1,5 +1,5 @@ -#ifndef __ARM_ARM64_MM_H__ -#define __ARM_ARM64_MM_H__ +#ifndef ASM__ARM__ARM64__MM_H +#define ASM__ARM__ARM64__MM_H =20 extern DEFINE_PAGE_TABLE(xen_pgtable); =20 @@ -16,7 +16,7 @@ void arch_setup_page_tables(void); =20 void update_boot_mapping(bool enable); =20 -#endif /* __ARM_ARM64_MM_H__ */ +#endif /* ASM__ARM__ARM64__MM_H */ =20 /* * Local variables: diff --git a/xen/arch/arm/include/asm/arm64/nospec.h b/xen/arch/arm/include= /asm/arm64/nospec.h index 2364ca692b..dc8d5aacb4 100644 --- a/xen/arch/arm/include/asm/arm64/nospec.h +++ b/xen/arch/arm/include/asm/arm64/nospec.h @@ -1,6 +1,6 @@ /* Portions taken from Linux arch arm64 */ -#ifndef __ASM_ARM64_NOSPEC_H -#define __ASM_ARM64_NOSPEC_H +#ifndef ASM__ARM__ARM64__NOSPEC_H +#define ASM__ARM__ARM64__NOSPEC_H =20 #define csdb() asm volatile ( "hint #20" : : : "memory" ) =20 @@ -24,7 +24,7 @@ static inline unsigned long array_index_mask_nospec(unsig= ned long idx, } #define array_index_mask_nospec array_index_mask_nospec =20 -#endif /* __ASM_ARM64_NOSPEC_H */ +#endif /* ASM__ARM__ARM64__NOSPEC_H */ /* * Local variables: * mode: C diff --git a/xen/arch/arm/include/asm/arm64/page.h b/xen/arch/arm/include/a= sm/arm64/page.h index e944985ee0..8fc0275290 100644 --- a/xen/arch/arm/include/asm/arm64/page.h +++ b/xen/arch/arm/include/asm/arm64/page.h @@ -1,5 +1,5 @@ -#ifndef __ARM_ARM64_PAGE_H__ -#define __ARM_ARM64_PAGE_H__ +#ifndef ASM__ARM__ARM64__PAGE_H +#define ASM__ARM__ARM64__PAGE_H =20 #ifndef __ASSEMBLY__ =20 @@ -79,7 +79,7 @@ extern void clear_page(void *to); =20 #endif /* __ASSEMBLY__ */ =20 -#endif /* __ARM_ARM64_PAGE_H__ */ +#endif /* ASM__ARM__ARM64__PAGE_H */ =20 /* * Local variables: diff --git a/xen/arch/arm/include/asm/arm64/processor.h b/xen/arch/arm/incl= ude/asm/arm64/processor.h index c749f80ad9..965e9f44f7 100644 --- a/xen/arch/arm/include/asm/arm64/processor.h +++ b/xen/arch/arm/include/asm/arm64/processor.h @@ -1,5 +1,5 @@ -#ifndef __ASM_ARM_ARM64_PROCESSOR_H -#define __ASM_ARM_ARM64_PROCESSOR_H +#ifndef ASM__ARM__ARM64__PROCESSOR_H +#define ASM__ARM__ARM64__PROCESSOR_H =20 #ifndef __ASSEMBLY__ =20 @@ -88,7 +88,7 @@ struct cpu_user_regs =20 #endif /* __ASSEMBLY__ */ =20 -#endif /* __ASM_ARM_ARM64_PROCESSOR_H */ +#endif /* ASM__ARM__ARM64__PROCESSOR_H */ /* * Local variables: * mode: C diff --git a/xen/arch/arm/include/asm/arm64/sve.h b/xen/arch/arm/include/as= m/arm64/sve.h index a71d6a295d..155dd27766 100644 --- a/xen/arch/arm/include/asm/arm64/sve.h +++ b/xen/arch/arm/include/asm/arm64/sve.h @@ -5,8 +5,8 @@ * Copyright (C) 2022 ARM Ltd. */ =20 -#ifndef _ARM_ARM64_SVE_H -#define _ARM_ARM64_SVE_H +#ifndef ASM__ARM__ARM64__SVE_H +#define ASM__ARM__ARM64__SVE_H =20 #include =20 @@ -60,7 +60,7 @@ static inline unsigned int get_sys_vl_len(void) =20 #endif /* CONFIG_ARM64_SVE */ =20 -#endif /* _ARM_ARM64_SVE_H */ +#endif /* ASM__ARM__ARM64__SVE_H */ =20 /* * Local variables: diff --git a/xen/arch/arm/include/asm/arm64/sysregs.h b/xen/arch/arm/includ= e/asm/arm64/sysregs.h index b593e4028b..ee2b2172db 100644 --- a/xen/arch/arm/include/asm/arm64/sysregs.h +++ b/xen/arch/arm/include/asm/arm64/sysregs.h @@ -1,5 +1,5 @@ -#ifndef __ASM_ARM_ARM64_SYSREGS_H -#define __ASM_ARM_ARM64_SYSREGS_H +#ifndef ASM__ARM__ARM64__SYSREGS_H +#define ASM__ARM__ARM64__SYSREGS_H =20 #include =20 diff --git a/xen/arch/arm/include/asm/arm64/system.h b/xen/arch/arm/include= /asm/arm64/system.h index 2e2ee212a1..d96a17c30d 100644 --- a/xen/arch/arm/include/asm/arm64/system.h +++ b/xen/arch/arm/include/asm/arm64/system.h @@ -1,6 +1,6 @@ /* Portions taken from Linux arch arm64 */ -#ifndef __ASM_ARM64_SYSTEM_H -#define __ASM_ARM64_SYSTEM_H +#ifndef ASM__ARM__ARM64__SYSTEM_H +#define ASM__ARM__ARM64__SYSTEM_H =20 #include =20 diff --git a/xen/arch/arm/include/asm/arm64/traps.h b/xen/arch/arm/include/= asm/arm64/traps.h index a347cb13d6..2d11192d22 100644 --- a/xen/arch/arm/include/asm/arm64/traps.h +++ b/xen/arch/arm/include/asm/arm64/traps.h @@ -1,5 +1,5 @@ -#ifndef __ASM_ARM64_TRAPS__ -#define __ASM_ARM64_TRAPS__ +#ifndef ASM__ARM__ARM64__TRAPS_H +#define ASM__ARM__ARM64__TRAPS_H =20 void inject_undef64_exception(struct cpu_user_regs *regs, int instr_len); =20 @@ -8,7 +8,7 @@ void do_sysreg(struct cpu_user_regs *regs, =20 void do_bad_mode(struct cpu_user_regs *regs, int reason); =20 -#endif /* __ASM_ARM64_TRAPS__ */ +#endif /* ASM__ARM__ARM64__TRAPS_H */ /* * Local variables: * mode: C diff --git a/xen/arch/arm/include/asm/arm64/vfp.h b/xen/arch/arm/include/as= m/arm64/vfp.h index 4b399ccbfb..145b2803ec 100644 --- a/xen/arch/arm/include/asm/arm64/vfp.h +++ b/xen/arch/arm/include/asm/arm64/vfp.h @@ -1,5 +1,5 @@ -#ifndef _ARM_ARM64_VFP_H -#define _ARM_ARM64_VFP_H +#ifndef ASM__ARM__ARM64__VFP_H +#define ASM__ARM__ARM64__VFP_H =20 /* ARM64 VFP instruction requires fpregs address to be 128-byte aligned */ #define __vfp_aligned __attribute__((aligned(16))) @@ -28,7 +28,7 @@ struct vfp_state register_t fpsr; }; =20 -#endif /* _ARM_ARM64_VFP_H */ +#endif /* ASM__ARM__ARM64__VFP_H */ /* * Local variables: * mode: C diff --git a/xen/arch/arm/include/asm/asm_defns.h b/xen/arch/arm/include/as= m/asm_defns.h index 47efdf5234..c3e136b240 100644 --- a/xen/arch/arm/include/asm/asm_defns.h +++ b/xen/arch/arm/include/asm/asm_defns.h @@ -1,5 +1,5 @@ -#ifndef __ARM_ASM_DEFNS_H__ -#define __ARM_ASM_DEFNS_H__ +#ifndef ASM__ARM__ASM_DEFNS_H +#define ASM__ARM__ASM_DEFNS_H =20 #ifndef COMPILE_OFFSETS /* NB. Auto-generated from arch/.../asm-offsets.c */ @@ -28,7 +28,7 @@ label: .asciz msg; \ .popsection =20 -#endif /* __ARM_ASM_DEFNS_H__ */ +#endif /* ASM__ARM__ASM_DEFNS_H */ /* * Local variables: * mode: C diff --git a/xen/arch/arm/include/asm/atomic.h b/xen/arch/arm/include/asm/a= tomic.h index 517216d2a8..1af5ee851f 100644 --- a/xen/arch/arm/include/asm/atomic.h +++ b/xen/arch/arm/include/asm/atomic.h @@ -1,5 +1,5 @@ -#ifndef __ARCH_ARM_ATOMIC__ -#define __ARCH_ARM_ATOMIC__ +#ifndef ASM__ARM__ATOMIC_H +#define ASM__ARM__ATOMIC_H =20 #include #include @@ -227,7 +227,7 @@ static inline int atomic_add_unless(atomic_t *v, int a,= int u) =20 #define atomic_xchg(v, new) (xchg(&((v)->counter), new)) =20 -#endif /* __ARCH_ARM_ATOMIC__ */ +#endif /* ASM__ARM__ATOMIC_H */ /* * Local variables: * mode: C diff --git a/xen/arch/arm/include/asm/bitops.h b/xen/arch/arm/include/asm/b= itops.h index f163d9bb45..001e2960c4 100644 --- a/xen/arch/arm/include/asm/bitops.h +++ b/xen/arch/arm/include/asm/bitops.h @@ -6,8 +6,8 @@ * reworked by rmk. */ =20 -#ifndef _ARM_BITOPS_H -#define _ARM_BITOPS_H +#ifndef ASM__ARM__BITOPS_H +#define ASM__ARM__BITOPS_H =20 #include =20 @@ -78,7 +78,7 @@ bool clear_mask16_timeout(uint16_t mask, volatile void *p, #define arch_fls(x) ((x) ? 32 - __builtin_clz(x) : 0) #define arch_flsl(x) ((x) ? BITS_PER_LONG - __builtin_clzl(x) : 0) =20 -#endif /* _ARM_BITOPS_H */ +#endif /* ASM__ARM__BITOPS_H */ /* * Local variables: * mode: C diff --git a/xen/arch/arm/include/asm/bug.h b/xen/arch/arm/include/asm/bug.h index cacaf014ab..19d4645984 100644 --- a/xen/arch/arm/include/asm/bug.h +++ b/xen/arch/arm/include/asm/bug.h @@ -1,5 +1,5 @@ -#ifndef __ARM_BUG_H__ -#define __ARM_BUG_H__ +#ifndef ASM__ARM__BUG_H +#define ASM__ARM__BUG_H =20 #include =20 @@ -82,7 +82,7 @@ struct bug_frame { unreachable(); \ } while (0) =20 -#endif /* __ARM_BUG_H__ */ +#endif /* ASM__ARM__BUG_H */ /* * Local variables: * mode: C diff --git a/xen/arch/arm/include/asm/byteorder.h b/xen/arch/arm/include/as= m/byteorder.h index 9c712c4788..0a564c6aa3 100644 --- a/xen/arch/arm/include/asm/byteorder.h +++ b/xen/arch/arm/include/asm/byteorder.h @@ -1,11 +1,11 @@ -#ifndef __ASM_ARM_BYTEORDER_H__ -#define __ASM_ARM_BYTEORDER_H__ +#ifndef ASM__ARM__BYTEORDER_H +#define ASM__ARM__BYTEORDER_H =20 #define __BYTEORDER_HAS_U64__ =20 #include =20 -#endif /* __ASM_ARM_BYTEORDER_H__ */ +#endif /* ASM__ARM__BYTEORDER_H */ /* * Local variables: * mode: C diff --git a/xen/arch/arm/include/asm/cache.h b/xen/arch/arm/include/asm/ca= che.h index b75c970b68..e60a27498d 100644 --- a/xen/arch/arm/include/asm/cache.h +++ b/xen/arch/arm/include/asm/cache.h @@ -1,5 +1,5 @@ -#ifndef __ARCH_ARM_CACHE_H -#define __ARCH_ARM_CACHE_H +#ifndef ASM__ARM__CACHE_H +#define ASM__ARM__CACHE_H =20 =20 /* L1 cache line size */ diff --git a/xen/arch/arm/include/asm/cadence-uart.h b/xen/arch/arm/include= /asm/cadence-uart.h index 48680eea4b..7107ad3e0c 100644 --- a/xen/arch/arm/include/asm/cadence-uart.h +++ b/xen/arch/arm/include/asm/cadence-uart.h @@ -15,8 +15,8 @@ * GNU General Public License for more details. */ =20 -#ifndef __ASM_ARM_CADENCE_UART_H__ -#define __ASM_ARM_CADENCE_UART_H__ +#ifndef ASM__ARM__CADENCE_UART_H +#define ASM__ARM__CADENCE_UART_H =20 #define R_UART_CR 0x00 #define UART_CR_RX_RST 0x01 diff --git a/xen/arch/arm/include/asm/config.h b/xen/arch/arm/include/asm/c= onfig.h index a2e22b659d..25a014f480 100644 --- a/xen/arch/arm/include/asm/config.h +++ b/xen/arch/arm/include/asm/config.h @@ -4,8 +4,8 @@ * A Linux-style configuration list. */ =20 -#ifndef __ARM_CONFIG_H__ -#define __ARM_CONFIG_H__ +#ifndef ASM__ARM__CONFIG_H +#define ASM__ARM__CONFIG_H =20 #if defined(CONFIG_ARM_64) # define LONG_BYTEORDER 3 @@ -92,7 +92,7 @@ extern unsigned long frametable_virt_end; #include #endif =20 -#endif /* __ARM_CONFIG_H__ */ +#endif /* ASM__ARM__CONFIG_H */ /* * Local variables: * mode: C diff --git a/xen/arch/arm/include/asm/cpregs.h b/xen/arch/arm/include/asm/c= pregs.h index aec9e8f329..0732cce1f3 100644 --- a/xen/arch/arm/include/asm/cpregs.h +++ b/xen/arch/arm/include/asm/cpregs.h @@ -1,5 +1,5 @@ -#ifndef __ASM_ARM_CPREGS_H -#define __ASM_ARM_CPREGS_H +#ifndef ASM__ARM__CPREGS_H +#define ASM__ARM__CPREGS_H =20 /* * AArch32 Co-processor registers. diff --git a/xen/arch/arm/include/asm/cpuerrata.h b/xen/arch/arm/include/as= m/cpuerrata.h index 8d7e7b9375..8c9e3e0104 100644 --- a/xen/arch/arm/include/asm/cpuerrata.h +++ b/xen/arch/arm/include/asm/cpuerrata.h @@ -1,5 +1,5 @@ -#ifndef __ARM_CPUERRATA_H__ -#define __ARM_CPUERRATA_H__ +#ifndef ASM__ARM__CPUERRATA_H +#define ASM__ARM__CPUERRATA_H =20 #include #include @@ -74,7 +74,7 @@ static inline enum ssbd_state get_ssbd_state(void) =20 #endif =20 -#endif /* __ARM_CPUERRATA_H__ */ +#endif /* ASM__ARM__CPUERRATA_H */ /* * Local variables: * mode: C diff --git a/xen/arch/arm/include/asm/cpufeature.h b/xen/arch/arm/include/a= sm/cpufeature.h index 969e043f5b..b9f42beac7 100644 --- a/xen/arch/arm/include/asm/cpufeature.h +++ b/xen/arch/arm/include/asm/cpufeature.h @@ -1,5 +1,5 @@ -#ifndef __ASM_ARM_CPUFEATURE_H -#define __ASM_ARM_CPUFEATURE_H +#ifndef ASM__ARM__CPUFEATURE_H +#define ASM__ARM__CPUFEATURE_H =20 #ifdef CONFIG_ARM_64 #define cpu_feature64(c, feat) ((c)->pfr64.feat) diff --git a/xen/arch/arm/include/asm/current.h b/xen/arch/arm/include/asm/= current.h index 0be7ad6ef9..226cf953d7 100644 --- a/xen/arch/arm/include/asm/current.h +++ b/xen/arch/arm/include/asm/current.h @@ -1,5 +1,5 @@ -#ifndef __ARM_CURRENT_H__ -#define __ARM_CURRENT_H__ +#ifndef ASM__ARM__CURRENT_H +#define ASM__ARM__CURRENT_H =20 #include #include @@ -65,7 +65,7 @@ do { \ =20 #endif =20 -#endif /* __ARM_CURRENT_H__ */ +#endif /* ASM__ARM__CURRENT_H */ /* * Local variables: * mode: C diff --git a/xen/arch/arm/include/asm/div64.h b/xen/arch/arm/include/asm/di= v64.h index 8fe17f0ff2..627583f04f 100644 --- a/xen/arch/arm/include/asm/div64.h +++ b/xen/arch/arm/include/asm/div64.h @@ -1,6 +1,6 @@ /* Taken from Linux arch/arm */ -#ifndef __ASM_ARM_DIV64 -#define __ASM_ARM_DIV64 +#ifndef ASM__ARM__DIV64_H +#define ASM__ARM__DIV64_H =20 #include #include diff --git a/xen/arch/arm/include/asm/dom0less-build.h b/xen/arch/arm/inclu= de/asm/dom0less-build.h index 5864944bda..48c5c85ead 100644 --- a/xen/arch/arm/include/asm/dom0less-build.h +++ b/xen/arch/arm/include/asm/dom0less-build.h @@ -1,7 +1,7 @@ /* SPDX-License-Identifier: GPL-2.0-only */ =20 -#ifndef __ASM_DOM0LESS_BUILD_H_ -#define __ASM_DOM0LESS_BUILD_H_ +#ifndef ASM__ARM__DOM0LESS_BUILD_H +#define ASM__ARM__DOM0LESS_BUILD_H =20 #include =20 @@ -20,7 +20,7 @@ static inline bool is_dom0less_mode(void) =20 #endif /* CONFIG_DOM0LESS_BOOT */ =20 -#endif /* __ASM_DOM0LESS_BUILD_H_ */ +#endif /* ASM__ARM__DOM0LESS_BUILD_H */ =20 /* * Local variables: diff --git a/xen/arch/arm/include/asm/domain.h b/xen/arch/arm/include/asm/d= omain.h index f1d72c6e48..f27353d9c8 100644 --- a/xen/arch/arm/include/asm/domain.h +++ b/xen/arch/arm/include/asm/domain.h @@ -1,5 +1,5 @@ -#ifndef __ASM_DOMAIN_H__ -#define __ASM_DOMAIN_H__ +#ifndef ASM__ARM__DOMAIN_H +#define ASM__ARM__DOMAIN_H =20 #include #include @@ -310,7 +310,7 @@ static inline void update_guest_memory_policy(struct vc= pu *v, struct guest_memory_policy *= gmp) {} =20 -#endif /* __ASM_DOMAIN_H__ */ +#endif /* ASM__ARM__DOMAIN_H */ =20 /* * Local variables: diff --git a/xen/arch/arm/include/asm/domain_build.h b/xen/arch/arm/include= /asm/domain_build.h index e712afbc7f..740a45f964 100644 --- a/xen/arch/arm/include/asm/domain_build.h +++ b/xen/arch/arm/include/asm/domain_build.h @@ -1,5 +1,5 @@ -#ifndef __ASM_DOMAIN_BUILD_H__ -#define __ASM_DOMAIN_BUILD_H__ +#ifndef ASM__ARM__DOMAIN_BUILD_H +#define ASM__ARM__DOMAIN_BUILD_H =20 #include #include diff --git a/xen/arch/arm/include/asm/early_printk.h b/xen/arch/arm/include= /asm/early_printk.h index 46a5e562dd..5dc65483f1 100644 --- a/xen/arch/arm/include/asm/early_printk.h +++ b/xen/arch/arm/include/asm/early_printk.h @@ -7,8 +7,8 @@ * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. */ -#ifndef __ARM_EARLY_PRINTK_H__ -#define __ARM_EARLY_PRINTK_H__ +#ifndef ASM__ARM__EARLY_PRINTK_H +#define ASM__ARM__EARLY_PRINTK_H =20 #include #include diff --git a/xen/arch/arm/include/asm/elf.h b/xen/arch/arm/include/asm/elf.h index 9e436e7556..d55e8a1912 100644 --- a/xen/arch/arm/include/asm/elf.h +++ b/xen/arch/arm/include/asm/elf.h @@ -1,5 +1,5 @@ -#ifndef __ARM_ELF_H__ -#define __ARM_ELF_H__ +#ifndef ASM__ARM__ELF_H +#define ASM__ARM__ELF_H =20 typedef struct { unsigned long r0; @@ -20,7 +20,7 @@ typedef struct { unsigned long pc; } ELF_Gregset; =20 -#endif /* __ARM_ELF_H__ */ +#endif /* ASM__ARM__ELF_H */ =20 /* * Local variables: diff --git a/xen/arch/arm/include/asm/event.h b/xen/arch/arm/include/asm/ev= ent.h index b14c166ad6..c0088bbb64 100644 --- a/xen/arch/arm/include/asm/event.h +++ b/xen/arch/arm/include/asm/event.h @@ -1,5 +1,5 @@ -#ifndef __ASM_EVENT_H__ -#define __ASM_EVENT_H__ +#ifndef ASM__ARM__EVENT_H +#define ASM__ARM__EVENT_H =20 #include =20 diff --git a/xen/arch/arm/include/asm/exynos4210-uart.h b/xen/arch/arm/incl= ude/asm/exynos4210-uart.h index e2ab4a43e4..21afc9e3f3 100644 --- a/xen/arch/arm/include/asm/exynos4210-uart.h +++ b/xen/arch/arm/include/asm/exynos4210-uart.h @@ -18,8 +18,8 @@ * GNU General Public License for more details. */ =20 -#ifndef __ASM_ARM_EXYNOS4210_H -#define __ASM_ARM_EXYNOS4210_H +#ifndef ASM__ARM__EXYNOS4210_UART_H +#define ASM__ARM__EXYNOS4210_UART_H =20 =20 /* @@ -100,7 +100,7 @@ #define UINTM_RXD (1 << 0) #define UINTM_ALLI (UINTM_MODEM | UINTM_TXD | UINTM_ERROR | UINTM_RXD) =20 -#endif /* __ASM_ARM_EXYNOS4210_H */ +#endif /* ASM__ARM__EXYNOS4210_UART_H */ =20 /* * Local variables: diff --git a/xen/arch/arm/include/asm/fixmap.h b/xen/arch/arm/include/asm/f= ixmap.h index 0cb5d54d1c..da6bf72bec 100644 --- a/xen/arch/arm/include/asm/fixmap.h +++ b/xen/arch/arm/include/asm/fixmap.h @@ -1,8 +1,8 @@ /* * fixmap.h: compile-time virtual memory allocation */ -#ifndef __ASM_FIXMAP_H -#define __ASM_FIXMAP_H +#ifndef ASM__ARM__FIXMAP_H +#define ASM__ARM__FIXMAP_H =20 #include #include @@ -45,4 +45,4 @@ static inline unsigned int virt_to_fix(vaddr_t vaddr) =20 #endif /* __ASSEMBLY__ */ =20 -#endif /* __ASM_FIXMAP_H */ +#endif /* ASM__ARM__FIXMAP_H */ diff --git a/xen/arch/arm/include/asm/flushtlb.h b/xen/arch/arm/include/asm= /flushtlb.h index e45fb6d97b..2239acf4fc 100644 --- a/xen/arch/arm/include/asm/flushtlb.h +++ b/xen/arch/arm/include/asm/flushtlb.h @@ -1,5 +1,5 @@ -#ifndef __ASM_ARM_FLUSHTLB_H__ -#define __ASM_ARM_FLUSHTLB_H__ +#ifndef ASM__ARM__FLUSHTLB_H +#define ASM__ARM__FLUSHTLB_H =20 #include =20 @@ -68,7 +68,7 @@ static inline void flush_xen_tlb_range_va(vaddr_t va, isb(); } =20 -#endif /* __ASM_ARM_FLUSHTLB_H__ */ +#endif /* ASM__ARM__FLUSHTLB_H */ /* * Local variables: * mode: C diff --git a/xen/arch/arm/include/asm/gic.h b/xen/arch/arm/include/asm/gic.h index 541f0eeb80..edbeba6388 100644 --- a/xen/arch/arm/include/asm/gic.h +++ b/xen/arch/arm/include/asm/gic.h @@ -15,8 +15,8 @@ * GNU General Public License for more details. */ =20 -#ifndef __ASM_ARM_GIC_H__ -#define __ASM_ARM_GIC_H__ +#ifndef ASM__ARM__GIC_H +#define ASM__ARM__GIC_H =20 #define NR_GIC_LOCAL_IRQS NR_LOCAL_IRQS #define NR_GIC_SGI 16 diff --git a/xen/arch/arm/include/asm/gic_v3_defs.h b/xen/arch/arm/include/= asm/gic_v3_defs.h index 2af093e774..39c594470b 100644 --- a/xen/arch/arm/include/asm/gic_v3_defs.h +++ b/xen/arch/arm/include/asm/gic_v3_defs.h @@ -15,8 +15,8 @@ * GNU General Public License for more details. */ =20 -#ifndef __ASM_ARM_GIC_V3_DEFS_H__ -#define __ASM_ARM_GIC_V3_DEFS_H__ +#ifndef ASM__ARM__GIC_V3_DEFS_H +#define ASM__ARM__GIC_V3_DEFS_H =20 #include =20 @@ -210,7 +210,7 @@ struct rdist_region { bool single_rdist; }; =20 -#endif /* __ASM_ARM_GIC_V3_DEFS_H__ */ +#endif /* ASM__ARM__GIC_V3_DEFS_H */ =20 /* * Local variables: diff --git a/xen/arch/arm/include/asm/gic_v3_its.h b/xen/arch/arm/include/a= sm/gic_v3_its.h index c24d4752d0..f34b803f66 100644 --- a/xen/arch/arm/include/asm/gic_v3_its.h +++ b/xen/arch/arm/include/asm/gic_v3_its.h @@ -17,8 +17,8 @@ * along with this program; If not, see . */ =20 -#ifndef __ASM_ARM_ITS_H__ -#define __ASM_ARM_ITS_H__ +#ifndef ASM__ARM__GIC_V3_ITS_H +#define ASM__ARM__GIC_V3_ITS_H =20 #define GITS_CTLR 0x000 #define GITS_IIDR 0x004 diff --git a/xen/arch/arm/include/asm/grant_table.h b/xen/arch/arm/include/= asm/grant_table.h index d3c518a926..b104fc890c 100644 --- a/xen/arch/arm/include/asm/grant_table.h +++ b/xen/arch/arm/include/asm/grant_table.h @@ -1,5 +1,5 @@ -#ifndef __ASM_GRANT_TABLE_H__ -#define __ASM_GRANT_TABLE_H__ +#ifndef ASM__ARM__GRANT_TABLE_H +#define ASM__ARM__GRANT_TABLE_H =20 #include #include @@ -76,7 +76,7 @@ int replace_grant_host_mapping(uint64_t gpaddr, mfn_t fra= me, #define gnttab_need_iommu_mapping(d) \ (is_domain_direct_mapped(d) && is_iommu_enabled(d)) =20 -#endif /* __ASM_GRANT_TABLE_H__ */ +#endif /* ASM__ARM__GRANT_TABLE_H */ /* * Local variables: * mode: C diff --git a/xen/arch/arm/include/asm/guest_access.h b/xen/arch/arm/include= /asm/guest_access.h index 18c88b70d7..2deaf968f9 100644 --- a/xen/arch/arm/include/asm/guest_access.h +++ b/xen/arch/arm/include/asm/guest_access.h @@ -1,5 +1,5 @@ -#ifndef __ASM_ARM_GUEST_ACCESS_H__ -#define __ASM_ARM_GUEST_ACCESS_H__ +#ifndef ASM__ARM__GUEST_ACCESS_H +#define ASM__ARM__GUEST_ACCESS_H =20 #include #include @@ -31,7 +31,7 @@ int access_guest_memory_by_gpa(struct domain *d, paddr_t = gpa, void *buf, #define guest_handle_okay(hnd, nr) (1) #define guest_handle_subrange_okay(hnd, first, last) (1) =20 -#endif /* __ASM_ARM_GUEST_ACCESS_H__ */ +#endif /* ASM__ARM__GUEST_ACCESS_H */ /* * Local variables: * mode: C diff --git a/xen/arch/arm/include/asm/guest_atomics.h b/xen/arch/arm/includ= e/asm/guest_atomics.h index 8893eb9a55..29fc05f5e7 100644 --- a/xen/arch/arm/include/asm/guest_atomics.h +++ b/xen/arch/arm/include/asm/guest_atomics.h @@ -1,5 +1,5 @@ -#ifndef _ARM_GUEST_ATOMICS_H -#define _ARM_GUEST_ATOMICS_H +#ifndef ASM__ARM__GUEST_ATOMICS_H +#define ASM__ARM__GUEST_ATOMICS_H =20 #include #include @@ -137,7 +137,7 @@ static inline uint64_t guest_cmpxchg64(struct domain *d, return oldval; } =20 -#endif /* _ARM_GUEST_ATOMICS_H */ +#endif /* ASM__ARM__GUEST_ATOMICS_H */ /* * Local variables: * mode: C diff --git a/xen/arch/arm/include/asm/guest_walk.h b/xen/arch/arm/include/a= sm/guest_walk.h index 8768ac9894..2be96d9020 100644 --- a/xen/arch/arm/include/asm/guest_walk.h +++ b/xen/arch/arm/include/asm/guest_walk.h @@ -1,5 +1,5 @@ -#ifndef _XEN_GUEST_WALK_H -#define _XEN_GUEST_WALK_H +#ifndef ASM__ARM__GUEST_WALK_H +#define ASM__ARM__GUEST_WALK_H =20 /* Walk the guest's page tables in software. */ bool guest_walk_tables(const struct vcpu *v, @@ -7,7 +7,7 @@ bool guest_walk_tables(const struct vcpu *v, paddr_t *ipa, unsigned int *perms); =20 -#endif /* _XEN_GUEST_WALK_H */ +#endif /* ASM__ARM__GUEST_WALK_H */ =20 /* * Local variables: diff --git a/xen/arch/arm/include/asm/hsr.h b/xen/arch/arm/include/asm/hsr.h index 9b91b28c48..d3e7b70835 100644 --- a/xen/arch/arm/include/asm/hsr.h +++ b/xen/arch/arm/include/asm/hsr.h @@ -1,5 +1,5 @@ -#ifndef __ASM_ARM_HSR_H -#define __ASM_ARM_HSR_H +#ifndef ASM__ARM__HSR_H +#define ASM__ARM__HSR_H =20 #include =20 @@ -205,7 +205,7 @@ union hsr { /* HSR.EC =3D=3D HSR_{HVC32, HVC64, SMC64, SVC32, SVC64} */ #define HSR_XXC_IMM_MASK (0xffff) =20 -#endif /* __ASM_ARM_HSR_H */ +#endif /* ASM__ARM__HSR_H */ =20 /* * Local variables: diff --git a/xen/arch/arm/include/asm/hypercall.h b/xen/arch/arm/include/as= m/hypercall.h index 07e231f8b5..95d38206b6 100644 --- a/xen/arch/arm/include/asm/hypercall.h +++ b/xen/arch/arm/include/asm/hypercall.h @@ -1,17 +1,17 @@ /* SAF-10-safe direct inclusion guard before */ -#ifndef __XEN_HYPERCALL_H__ +#ifndef XEN__HYPERCALL_H #error "asm/hypercall.h should not be included directly - include xen/hype= rcall.h instead" #endif =20 -#ifndef __ASM_ARM_HYPERCALL_H__ -#define __ASM_ARM_HYPERCALL_H__ +#ifndef ASM__ARM__HYPERCALL_H +#define ASM__ARM__HYPERCALL_H =20 #include /* for arch_do_domctl */ =20 long subarch_do_domctl(struct xen_domctl *domctl, struct domain *d, XEN_GUEST_HANDLE_PARAM(xen_domctl_t) u_domctl); =20 -#endif /* __ASM_ARM_HYPERCALL_H__ */ +#endif /* ASM__ARM__HYPERCALL_H */ /* * Local variables: * mode: C diff --git a/xen/arch/arm/include/asm/imx-lpuart.h b/xen/arch/arm/include/a= sm/imx-lpuart.h index fe859045dc..1e074649cf 100644 --- a/xen/arch/arm/include/asm/imx-lpuart.h +++ b/xen/arch/arm/include/asm/imx-lpuart.h @@ -17,8 +17,8 @@ * GNU General Public License for more details. */ =20 -#ifndef __ASM_ARM_IMX_LPUART_H__ -#define __ASM_ARM_IMX_LPUART_H__ +#ifndef ASM__ARM__IMX_LPUART_H +#define ASM__ARM__IMX_LPUART_H =20 /* 32-bit register definition */ #define UARTBAUD (0x10) @@ -52,7 +52,7 @@ =20 #define UARTWATER_RXCNT_OFF 24 =20 -#endif /* __ASM_ARM_IMX_LPUART_H__ */ +#endif /* ASM__ARM__IMX_LPUART_H */ =20 /* * Local variables: diff --git a/xen/arch/arm/include/asm/insn.h b/xen/arch/arm/include/asm/ins= n.h index 27271e95f9..8aa66b2e95 100644 --- a/xen/arch/arm/include/asm/insn.h +++ b/xen/arch/arm/include/asm/insn.h @@ -1,5 +1,5 @@ -#ifndef __ARCH_ARM_INSN -#define __ARCH_ARM_INSN +#ifndef ASM__ARM__INSN_H +#define ASM__ARM__INSN_H =20 #ifndef __ASSEMBLY__ =20 @@ -18,7 +18,7 @@ /* On ARM32,64 instructions are always 4 bytes long. */ #define ARCH_PATCH_INSN_SIZE 4 =20 -#endif /* !__ARCH_ARM_INSN */ +#endif /* !ASM__ARM__INSN_H */ /* * Local variables: * mode: C diff --git a/xen/arch/arm/include/asm/io.h b/xen/arch/arm/include/asm/io.h index e426804424..2475fca9de 100644 --- a/xen/arch/arm/include/asm/io.h +++ b/xen/arch/arm/include/asm/io.h @@ -1,5 +1,5 @@ -#ifndef _ASM_IO_H -#define _ASM_IO_H +#ifndef ASM__ARM__IO_H +#define ASM__ARM__IO_H =20 #if defined(CONFIG_ARM_32) # include diff --git a/xen/arch/arm/include/asm/iommu.h b/xen/arch/arm/include/asm/io= mmu.h index d57bd8a38c..eba17ec695 100644 --- a/xen/arch/arm/include/asm/iommu.h +++ b/xen/arch/arm/include/asm/iommu.h @@ -11,8 +11,8 @@ * You should have received a copy of the GNU General Public License along= with * this program; If not, see . */ -#ifndef __ARCH_ARM_IOMMU_H__ -#define __ARCH_ARM_IOMMU_H__ +#ifndef ASM__ARM__IOMMU_H +#define ASM__ARM__IOMMU_H =20 struct arch_iommu { @@ -34,7 +34,7 @@ int __must_check arm_iommu_unmap_page(struct domain *d, d= fn_t dfn, unsigned int order, unsigned int *flush_flags); =20 -#endif /* __ARCH_ARM_IOMMU_H__ */ +#endif /* ASM__ARM__IOMMU_H */ =20 /* * Local variables: diff --git a/xen/arch/arm/include/asm/iommu_fwspec.h b/xen/arch/arm/include= /asm/iommu_fwspec.h index 5cdb53f8e8..f018e121f9 100644 --- a/xen/arch/arm/include/asm/iommu_fwspec.h +++ b/xen/arch/arm/include/asm/iommu_fwspec.h @@ -24,8 +24,8 @@ * License along with this program; If not, see . */ =20 -#ifndef __ARCH_ARM_IOMMU_FWSPEC_H__ -#define __ARCH_ARM_IOMMU_FWSPEC_H__ +#ifndef ASM__ARM__IOMMU_FWSPEC_H +#define ASM__ARM__IOMMU_FWSPEC_H =20 /* per-device IOMMU instance data */ struct iommu_fwspec { @@ -55,7 +55,7 @@ static inline void dev_iommu_fwspec_set(struct device *de= v, dev->iommu_fwspec =3D fwspec; } =20 -#endif /* __ARCH_ARM_IOMMU_FWSPEC_H__ */ +#endif /* ASM__ARM__IOMMU_FWSPEC_H */ =20 /* * Local variables: diff --git a/xen/arch/arm/include/asm/ioreq.h b/xen/arch/arm/include/asm/io= req.h index 50185978d5..9300ba53d6 100644 --- a/xen/arch/arm/include/asm/ioreq.h +++ b/xen/arch/arm/include/asm/ioreq.h @@ -17,8 +17,8 @@ * this program; If not, see . */ =20 -#ifndef __ASM_ARM_IOREQ_H__ -#define __ASM_ARM_IOREQ_H__ +#ifndef ASM__ARM__IOREQ_H +#define ASM__ARM__IOREQ_H =20 #ifdef CONFIG_IOREQ_SERVER enum io_state handle_ioserv(struct cpu_user_regs *regs, struct vcpu *v); @@ -57,7 +57,7 @@ static inline void msix_write_completion(struct vcpu *v) #define IOREQ_STATUS_UNHANDLED IO_UNHANDLED #define IOREQ_STATUS_RETRY IO_RETRY =20 -#endif /* __ASM_ARM_IOREQ_H__ */ +#endif /* ASM__ARM__IOREQ_H */ =20 /* * Local variables: diff --git a/xen/arch/arm/include/asm/irq.h b/xen/arch/arm/include/asm/irq.h index 88e060bf29..42abb6614e 100644 --- a/xen/arch/arm/include/asm/irq.h +++ b/xen/arch/arm/include/asm/irq.h @@ -1,5 +1,5 @@ -#ifndef _ASM_HW_IRQ_H -#define _ASM_HW_IRQ_H +#ifndef ASM__ARM__IRQ_H +#define ASM__ARM__IRQ_H =20 #include #include @@ -101,7 +101,7 @@ bool irq_type_set_by_domain(const struct domain *d); void irq_end_none(struct irq_desc *irq); #define irq_end_none irq_end_none =20 -#endif /* _ASM_HW_IRQ_H */ +#endif /* ASM__ARM__IRQ_H */ /* * Local variables: * mode: C diff --git a/xen/arch/arm/include/asm/kernel.h b/xen/arch/arm/include/asm/k= ernel.h index 7e6e3c82a4..39452f984b 100644 --- a/xen/arch/arm/include/asm/kernel.h +++ b/xen/arch/arm/include/asm/kernel.h @@ -3,8 +3,8 @@ * * Copyright (C) 2011 Citrix Systems, Inc. */ -#ifndef __ARCH_ARM_KERNEL_H__ -#define __ARCH_ARM_KERNEL_H__ +#ifndef ASM__ARM__KERNEL_H +#define ASM__ARM__KERNEL_H =20 #include #include @@ -126,7 +126,7 @@ int kernel_probe(struct kernel_info *info, const struct= dt_device_node *domain); */ void kernel_load(struct kernel_info *info); =20 -#endif /* #ifdef __ARCH_ARM_KERNEL_H__ */ +#endif /* #ifdef ASM__ARM__KERNEL_H */ =20 /* * Local variables: diff --git a/xen/arch/arm/include/asm/livepatch.h b/xen/arch/arm/include/as= m/livepatch.h index 026af5e7dc..11fec2033c 100644 --- a/xen/arch/arm/include/asm/livepatch.h +++ b/xen/arch/arm/include/asm/livepatch.h @@ -3,8 +3,8 @@ * */ =20 -#ifndef __XEN_ARM_LIVEPATCH_H__ -#define __XEN_ARM_LIVEPATCH_H__ +#ifndef ASM__ARM__LIVEPATCH_H +#define ASM__ARM__LIVEPATCH_H =20 #include /* For SZ_* macros. */ #include @@ -24,7 +24,7 @@ extern void *vmap_of_xen_text; #define ARCH_LIVEPATCH_RANGE SZ_128M #endif =20 -#endif /* __XEN_ARM_LIVEPATCH_H__ */ +#endif /* ASM__ARM__LIVEPATCH_H */ =20 /* * Local variables: diff --git a/xen/arch/arm/include/asm/lpae.h b/xen/arch/arm/include/asm/lpa= e.h index 4a1679cb33..ebf20ac121 100644 --- a/xen/arch/arm/include/asm/lpae.h +++ b/xen/arch/arm/include/asm/lpae.h @@ -1,5 +1,5 @@ -#ifndef __ARM_LPAE_H__ -#define __ARM_LPAE_H__ +#ifndef ASM__ARM__LPAE_H +#define ASM__ARM__LPAE_H =20 #ifndef __ASSEMBLY__ =20 @@ -284,7 +284,7 @@ lpae_t __aligned(PAGE_SIZE) name[XEN_PT_LPAE_ENTRIES * = (nr)] =20 #define DEFINE_PAGE_TABLE(name) DEFINE_PAGE_TABLES(name, 1) =20 -#endif /* __ARM_LPAE_H__ */ +#endif /* ASM__ARM__LPAE_H */ =20 /* * Local variables: diff --git a/xen/arch/arm/include/asm/macros.h b/xen/arch/arm/include/asm/m= acros.h index dc791245df..a6b212f4e3 100644 --- a/xen/arch/arm/include/asm/macros.h +++ b/xen/arch/arm/include/asm/macros.h @@ -1,5 +1,5 @@ -#ifndef __ASM_MACROS_H -#define __ASM_MACROS_H +#ifndef ASM__ARM__MACROS_H +#define ASM__ARM__MACROS_H =20 #ifndef __ASSEMBLY__ # error "This file should only be included in assembly file" diff --git a/xen/arch/arm/include/asm/mem_access.h b/xen/arch/arm/include/a= sm/mem_access.h index abac8032fc..22b3dc3786 100644 --- a/xen/arch/arm/include/asm/mem_access.h +++ b/xen/arch/arm/include/asm/mem_access.h @@ -14,8 +14,8 @@ * this program; If not, see . */ =20 -#ifndef _ASM_ARM_MEM_ACCESS_H -#define _ASM_ARM_MEM_ACCESS_H +#ifndef ASM__ARM__MEM_ACCESS_H +#define ASM__ARM__MEM_ACCESS_H =20 #include =20 @@ -59,7 +59,7 @@ p2m_mem_access_check_and_get_page(vaddr_t gva, unsigned l= ong flag, } =20 #endif /*CONFIG_MEM_ACCESS*/ -#endif /* _ASM_ARM_MEM_ACCESS_H */ +#endif /* ASM__ARM__MEM_ACCESS_H */ =20 /* * Local variables: diff --git a/xen/arch/arm/include/asm/mm.h b/xen/arch/arm/include/asm/mm.h index 5abd4b0d1c..227f678a2e 100644 --- a/xen/arch/arm/include/asm/mm.h +++ b/xen/arch/arm/include/asm/mm.h @@ -1,5 +1,5 @@ -#ifndef __ARCH_ARM_MM__ -#define __ARCH_ARM_MM__ +#ifndef ASM__ARM__MM_H +#define ASM__ARM__MM_H =20 #include #include @@ -426,7 +426,7 @@ static inline void page_set_xenheap_gfn(struct page_inf= o *p, gfn_t gfn) } while ( (y =3D cmpxchg(&p->u.inuse.type_info, x, nx)) !=3D x ); } =20 -#endif /* __ARCH_ARM_MM__ */ +#endif /* ASM__ARM__MM_H */ /* * Local variables: * mode: C diff --git a/xen/arch/arm/include/asm/mmio.h b/xen/arch/arm/include/asm/mmi= o.h index b22cfdac5b..a0c5efeba7 100644 --- a/xen/arch/arm/include/asm/mmio.h +++ b/xen/arch/arm/include/asm/mmio.h @@ -16,8 +16,8 @@ * GNU General Public License for more details. */ =20 -#ifndef __ASM_ARM_MMIO_H__ -#define __ASM_ARM_MMIO_H__ +#ifndef ASM__ARM__MMIO_H +#define ASM__ARM__MMIO_H =20 #include #include @@ -92,7 +92,7 @@ void domain_io_free(struct domain *d); void try_decode_instruction(const struct cpu_user_regs *regs, mmio_info_t *info); =20 -#endif /* __ASM_ARM_MMIO_H__ */ +#endif /* ASM__ARM__MMIO_H */ =20 /* * Local variables: diff --git a/xen/arch/arm/include/asm/mmu/layout.h b/xen/arch/arm/include/a= sm/mmu/layout.h index a3b546465b..5fe3d1db57 100644 --- a/xen/arch/arm/include/asm/mmu/layout.h +++ b/xen/arch/arm/include/asm/mmu/layout.h @@ -1,7 +1,7 @@ /* SPDX-License-Identifier: GPL-2.0-only */ =20 -#ifndef __ARM_MMU_LAYOUT_H__ -#define __ARM_MMU_LAYOUT_H__ +#ifndef ASM__ARM__MMU__LAYOUT_H +#define ASM__ARM__MMU__LAYOUT_H =20 /* * ARM32 layout: @@ -140,7 +140,7 @@ =20 #endif =20 -#endif /* __ARM_MMU_LAYOUT_H__ */ +#endif /* ASM__ARM__MMU__LAYOUT_H */ /* * Local variables: * mode: C diff --git a/xen/arch/arm/include/asm/mmu/mm.h b/xen/arch/arm/include/asm/m= mu/mm.h index c5e03a66bf..44cd9b9007 100644 --- a/xen/arch/arm/include/asm/mmu/mm.h +++ b/xen/arch/arm/include/asm/mmu/mm.h @@ -1,6 +1,6 @@ /* SPDX-License-Identifier: GPL-2.0-or-later */ -#ifndef __ARM_MMU_MM_H__ -#define __ARM_MMU_MM_H__ +#ifndef ASM__ARM__MMU__MM_H +#define ASM__ARM__MMU__MM_H =20 /* Non-boot CPUs use this to find the correct pagetables. */ extern uint64_t init_ttbr; @@ -32,7 +32,7 @@ void dump_pt_walk(paddr_t ttbr, paddr_t addr, /* Switch to a new root page-tables */ extern void switch_ttbr(uint64_t ttbr); =20 -#endif /* __ARM_MMU_MM_H__ */ +#endif /* ASM__ARM__MMU__MM_H */ =20 /* * Local variables: diff --git a/xen/arch/arm/include/asm/mmu/p2m.h b/xen/arch/arm/include/asm/= mmu/p2m.h index 58496c0b09..f085075d8f 100644 --- a/xen/arch/arm/include/asm/mmu/p2m.h +++ b/xen/arch/arm/include/asm/mmu/p2m.h @@ -1,6 +1,6 @@ /* SPDX-License-Identifier: GPL-2.0-or-later */ -#ifndef __ARM_MMU_P2M_H__ -#define __ARM_MMU_P2M_H__ +#ifndef ASM__ARM__MMU__P2M_H +#define ASM__ARM__MMU__P2M_H =20 extern unsigned int p2m_root_order; extern unsigned int p2m_root_level; @@ -14,7 +14,7 @@ void p2m_tlb_flush_sync(struct p2m_domain *p2m); =20 void p2m_clear_root_pages(struct p2m_domain *p2m); =20 -#endif /* __ARM_MMU_P2M_H__ */ +#endif /* ASM__ARM__MMU__P2M_H */ =20 /* * Local variables: diff --git a/xen/arch/arm/include/asm/monitor.h b/xen/arch/arm/include/asm/= monitor.h index 77a3c1a36c..5ee181065e 100644 --- a/xen/arch/arm/include/asm/monitor.h +++ b/xen/arch/arm/include/asm/monitor.h @@ -19,8 +19,8 @@ * License along with this program; If not, see . */ =20 -#ifndef __ASM_ARM_MONITOR_H__ -#define __ASM_ARM_MONITOR_H__ +#ifndef ASM__ARM__MONITOR_H +#define ASM__ARM__MONITOR_H =20 #include #include @@ -44,4 +44,4 @@ static inline uint32_t arch_monitor_get_capabilities(stru= ct domain *d) =20 int monitor_smc(void); =20 -#endif /* __ASM_ARM_MONITOR_H__ */ +#endif /* ASM__ARM__MONITOR_H */ diff --git a/xen/arch/arm/include/asm/new_vgic.h b/xen/arch/arm/include/asm= /new_vgic.h index 1e76213893..8007d7d717 100644 --- a/xen/arch/arm/include/asm/new_vgic.h +++ b/xen/arch/arm/include/asm/new_vgic.h @@ -13,8 +13,8 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -#ifndef __ASM_ARM_NEW_VGIC_H -#define __ASM_ARM_NEW_VGIC_H +#ifndef ASM__ARM__NEW_VGIC_H +#define ASM__ARM__NEW_VGIC_H =20 #include #include @@ -198,7 +198,7 @@ static inline paddr_t vgic_dist_base(const struct vgic_= dist *vgic) return vgic->dbase; } =20 -#endif /* __ASM_ARM_NEW_VGIC_H */ +#endif /* ASM__ARM__NEW_VGIC_H */ =20 /* * Local variables: diff --git a/xen/arch/arm/include/asm/nospec.h b/xen/arch/arm/include/asm/n= ospec.h index efac51fc03..f06d40fba4 100644 --- a/xen/arch/arm/include/asm/nospec.h +++ b/xen/arch/arm/include/asm/nospec.h @@ -1,8 +1,8 @@ /* SPDX-License-Identifier: GPL-2.0 */ /* Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.= */ =20 -#ifndef _ASM_ARM_NOSPEC_H -#define _ASM_ARM_NOSPEC_H +#ifndef ASM__ARM__NOSPEC_H +#define ASM__ARM__NOSPEC_H =20 #if defined(CONFIG_ARM_32) # include @@ -21,7 +21,7 @@ static inline void block_speculation(void) { } =20 -#endif /* _ASM_ARM_NOSPEC_H */ +#endif /* ASM__ARM__NOSPEC_H */ =20 /* * Local variables: diff --git a/xen/arch/arm/include/asm/p2m.h b/xen/arch/arm/include/asm/p2m.h index 4818dd4b6a..edbcaad77e 100644 --- a/xen/arch/arm/include/asm/p2m.h +++ b/xen/arch/arm/include/asm/p2m.h @@ -1,5 +1,5 @@ -#ifndef _XEN_P2M_H -#define _XEN_P2M_H +#ifndef ASM__ARM__P2M_H +#define ASM__ARM__P2M_H =20 #include #include @@ -160,7 +160,7 @@ typedef enum { P2M_FOREIGN_TYPES)) =20 /* All common type definitions should live ahead of this inclusion. */ -#ifdef _XEN_P2M_COMMON_H +#ifdef XEN__P2M_COMMON_H # error "xen/p2m-common.h should not be included directly" #endif #include @@ -449,7 +449,7 @@ static inline bool vcpu_has_cache_enabled(struct vcpu *= v) return (READ_SYSREG(SCTLR_EL1) & mask) =3D=3D mask; } =20 -#endif /* _XEN_P2M_H */ +#endif /* ASM__ARM__P2M_H */ =20 /* * Local variables: diff --git a/xen/arch/arm/include/asm/page-bits.h b/xen/arch/arm/include/as= m/page-bits.h index deb381ceeb..5a0fd0a93f 100644 --- a/xen/arch/arm/include/asm/page-bits.h +++ b/xen/arch/arm/include/asm/page-bits.h @@ -1,8 +1,8 @@ -#ifndef __ARM_PAGE_SHIFT_H__ -#define __ARM_PAGE_SHIFT_H__ +#ifndef ASM__ARM__PAGE_BITS_H +#define ASM__ARM__PAGE_BITS_H =20 #define PAGE_SHIFT 12 =20 #define PADDR_BITS CONFIG_PADDR_BITS =20 -#endif /* __ARM_PAGE_SHIFT_H__ */ +#endif /* ASM__ARM__PAGE_BITS_H */ diff --git a/xen/arch/arm/include/asm/page.h b/xen/arch/arm/include/asm/pag= e.h index 69f817d1e6..24849998aa 100644 --- a/xen/arch/arm/include/asm/page.h +++ b/xen/arch/arm/include/asm/page.h @@ -1,5 +1,5 @@ -#ifndef __ARM_PAGE_H__ -#define __ARM_PAGE_H__ +#ifndef ASM__ARM__PAGE_H +#define ASM__ARM__PAGE_H =20 #include #include @@ -316,7 +316,7 @@ static inline int gva_to_ipa(vaddr_t va, paddr_t *paddr= , unsigned int flags) =20 #endif /* __ASSEMBLY__ */ =20 -#endif /* __ARM_PAGE_H__ */ +#endif /* ASM__ARM__PAGE_H */ =20 /* * Local variables: diff --git a/xen/arch/arm/include/asm/pci.h b/xen/arch/arm/include/asm/pci.h index 7f77226c9b..ccef80687c 100644 --- a/xen/arch/arm/include/asm/pci.h +++ b/xen/arch/arm/include/asm/pci.h @@ -12,8 +12,8 @@ * along with this program. If not, see . */ =20 -#ifndef __ARM_PCI_H__ -#define __ARM_PCI_H__ +#ifndef ASM__ARM__PCI_H +#define ASM__ARM__PCI_H =20 #ifdef CONFIG_HAS_PCI =20 @@ -148,4 +148,4 @@ static inline int pci_get_new_domain_nr(void) } =20 #endif /*!CONFIG_HAS_PCI*/ -#endif /* __ARM_PCI_H__ */ +#endif /* ASM__ARM__PCI_H */ diff --git a/xen/arch/arm/include/asm/perfc.h b/xen/arch/arm/include/asm/pe= rfc.h index 95c4b2b6b7..5c6a62720a 100644 --- a/xen/arch/arm/include/asm/perfc.h +++ b/xen/arch/arm/include/asm/perfc.h @@ -1,5 +1,5 @@ -#ifndef __ASM_PERFC_H__ -#define __ASM_PERFC_H__ +#ifndef ASM__ARM__PERFC_H +#define ASM__ARM__PERFC_H =20 static inline void arch_perfc_reset(void) { diff --git a/xen/arch/arm/include/asm/perfc_defn.h b/xen/arch/arm/include/a= sm/perfc_defn.h index 3ab0391175..56d9541e5f 100644 --- a/xen/arch/arm/include/asm/perfc_defn.h +++ b/xen/arch/arm/include/asm/perfc_defn.h @@ -1,6 +1,6 @@ /* This file is legitimately included multiple times. */ -/*#ifndef __XEN_PERFC_DEFN_H__*/ -/*#define __XEN_PERFC_DEFN_H__*/ +/*#ifndef ASM__ARM__PERFC_DEFN_H*/ +/*#define ASM__ARM__PERFC_DEFN_H*/ =20 PERFCOUNTER(invalid_hypercalls, "invalid hypercalls") =20 @@ -76,7 +76,7 @@ PERFCOUNTER(maintenance_irqs, "Maintenance interrupts") PERFCOUNTER(atomics_guest, "atomics: guest access") PERFCOUNTER(atomics_guest_paused, "atomics: guest paused") =20 -/*#endif*/ /* __XEN_PERFC_DEFN_H__ */ +/*#endif*/ /* ASM__ARM__PERFC_DEFN_H */ =20 /* * Local variables: diff --git a/xen/arch/arm/include/asm/pl011-uart.h b/xen/arch/arm/include/a= sm/pl011-uart.h index 27c9bfa444..ce6084784a 100644 --- a/xen/arch/arm/include/asm/pl011-uart.h +++ b/xen/arch/arm/include/asm/pl011-uart.h @@ -18,8 +18,8 @@ * GNU General Public License for more details. */ =20 -#ifndef __ASM_ARM_PL011_H -#define __ASM_ARM_PL011_H +#ifndef ASM__ARM__PL011_UART_H +#define ASM__ARM__PL011_UART_H =20 #ifdef __ASSEMBLY__ =20 @@ -95,7 +95,7 @@ #define RIMI (1<<0) /* nUARTRI Modem interrupt mask */ #define ALLI OEI|BEI|PEI|FEI|RTI|TXI|RXI|DSRMI|DCDMI|CTSMI|RIMI =20 -#endif /* __ASM_ARM_PL011_H */ +#endif /* ASM__ARM__PL011_UART_H */ =20 /* * Local variables: diff --git a/xen/arch/arm/include/asm/platform.h b/xen/arch/arm/include/asm= /platform.h index 997eb25216..d674858a06 100644 --- a/xen/arch/arm/include/asm/platform.h +++ b/xen/arch/arm/include/asm/platform.h @@ -1,5 +1,5 @@ -#ifndef __ASM_ARM_PLATFORM_H -#define __ASM_ARM_PLATFORM_H +#ifndef ASM__ARM__PLATFORM_H +#define ASM__ARM__PLATFORM_H =20 #include #include @@ -70,7 +70,7 @@ __section(".arch.info") =3D { = \ #define PLATFORM_END \ }; =20 -#endif /* __ASM_ARM_PLATFORM_H */ +#endif /* ASM__ARM__PLATFORM_H */ =20 /* * Local variables: diff --git a/xen/arch/arm/include/asm/platforms/exynos5.h b/xen/arch/arm/in= clude/asm/platforms/exynos5.h index aef5c67084..90305fedff 100644 --- a/xen/arch/arm/include/asm/platforms/exynos5.h +++ b/xen/arch/arm/include/asm/platforms/exynos5.h @@ -1,5 +1,5 @@ -#ifndef __ASM_ARM_PLATFORMS_EXYNOS5_H -#define __ASM_ARM_PLATFORMS_EXYNOS5_H +#ifndef ASM__ARM__PLATFORMS__EXYNOS5_H +#define ASM__ARM__PLATFORMS__EXYNOS5_H =20 #define EXYNOS5_MCT_G_TCON 0x240 /* Relative to MCT_BASE */ #define EXYNOS5_MCT_G_TCON_START (1 << 8) @@ -9,7 +9,7 @@ =20 #define EXYNOS5_SWRESET 0x0400 /* Relative to PA_PMU */ =20 -#endif /* __ASM_ARM_PLATFORMS_EXYNOS5_H */ +#endif /* ASM__ARM__PLATFORMS__EXYNOS5_H */ /* * Local variables: * mode: C diff --git a/xen/arch/arm/include/asm/platforms/midway.h b/xen/arch/arm/inc= lude/asm/platforms/midway.h index 099e4350f9..b6396e64b3 100644 --- a/xen/arch/arm/include/asm/platforms/midway.h +++ b/xen/arch/arm/include/asm/platforms/midway.h @@ -1,5 +1,5 @@ #ifndef __ASM_ARM_PLATFORMS_MIDWAY_H -#define __ASM_ASM_PLATFORMS_MIDWAY_H +#define ASM__ARM__PLATFORMS__MIDWAY_H =20 /* addresses of SREG registers for resetting the SoC */ #define MW_SREG_PWR_REQ 0xfff3cf00 diff --git a/xen/arch/arm/include/asm/platforms/omap5.h b/xen/arch/arm/incl= ude/asm/platforms/omap5.h index c559c84b61..811db96281 100644 --- a/xen/arch/arm/include/asm/platforms/omap5.h +++ b/xen/arch/arm/include/asm/platforms/omap5.h @@ -1,4 +1,4 @@ -#ifndef __ASM_ARM_PLATFORMS_OMAP5_H +#ifndef ASM__ARM__PLATFORMS__OMAP5_H #define __ASM_ASM_PLATFORMS_OMAP5_H =20 #define REALTIME_COUNTER_BASE 0x48243200 @@ -20,7 +20,7 @@ #define OMAP_AUX_CORE_BOOT_0_OFFSET 0x800 #define OMAP_AUX_CORE_BOOT_1_OFFSET 0x804 =20 -#endif /* __ASM_ARM_PLATFORMS_OMAP5_H */ +#endif /* ASM__ARM__PLATFORMS__OMAP5_H */ =20 /* * Local variables: diff --git a/xen/arch/arm/include/asm/platforms/vexpress.h b/xen/arch/arm/i= nclude/asm/platforms/vexpress.h index 8b45d3a850..da81c3d1a5 100644 --- a/xen/arch/arm/include/asm/platforms/vexpress.h +++ b/xen/arch/arm/include/asm/platforms/vexpress.h @@ -1,5 +1,5 @@ -#ifndef __ASM_ARM_PLATFORMS_VEXPRESS_H -#define __ASM_ARM_PLATFORMS_VEXPRESS_H +#ifndef ASM__ARM__PLATFORMS__VEXPRESS_H +#define ASM__ARM__PLATFORMS__VEXPRESS_H =20 /* V2M */ #define V2M_SYS_MMIO_BASE (0x1c010000) @@ -26,7 +26,7 @@ /* Board-specific: base address of system controller */ #define SP810_ADDRESS 0x1C020000 =20 -#endif /* __ASM_ARM_PLATFORMS_VEXPRESS_H */ +#endif /* ASM__ARM__PLATFORMS__VEXPRESS_H */ /* * Local variables: * mode: C diff --git a/xen/arch/arm/include/asm/platforms/xilinx-zynqmp-eemi.h b/xen/= arch/arm/include/asm/platforms/xilinx-zynqmp-eemi.h index cf25a9014d..005199d019 100644 --- a/xen/arch/arm/include/asm/platforms/xilinx-zynqmp-eemi.h +++ b/xen/arch/arm/include/asm/platforms/xilinx-zynqmp-eemi.h @@ -11,8 +11,8 @@ * GNU General Public License for more details. */ =20 -#ifndef __ASM_ARM_PLATFORMS_ZYNQMP_H -#define __ASM_ARM_PLATFORMS_ZYNQMP_H +#ifndef ASM__ARM__PLATFORMS__XILINX_ZYNQMP_EEMI_H +#define ASM__ARM__PLATFORMS__XILINX_ZYNQMP_EEMI_H =20 #include #include @@ -116,7 +116,7 @@ enum ipi_api_id { =20 extern bool zynqmp_eemi(struct cpu_user_regs *regs); =20 -#endif /* __ASM_ARM_PLATFORMS_ZYNQMP_H */ +#endif /* ASM__ARM__PLATFORMS__XILINX_ZYNQMP_EEMI_H */ =20 /* * Local variables: diff --git a/xen/arch/arm/include/asm/pmap.h b/xen/arch/arm/include/asm/pma= p.h index bca3381796..a14d89cb46 100644 --- a/xen/arch/arm/include/asm/pmap.h +++ b/xen/arch/arm/include/asm/pmap.h @@ -1,5 +1,5 @@ -#ifndef __ASM_PMAP_H__ -#define __ASM_PMAP_H__ +#ifndef ASM__ARM__PMAP_H +#define ASM__ARM__PMAP_H =20 #include =20 @@ -31,4 +31,4 @@ static inline void arch_pmap_unmap(unsigned int slot) flush_xen_tlb_range_va_local(FIXMAP_ADDR(slot), PAGE_SIZE); } =20 -#endif /* __ASM_PMAP_H__ */ +#endif /* ASM__ARM__PMAP_H */ diff --git a/xen/arch/arm/include/asm/processor.h b/xen/arch/arm/include/as= m/processor.h index 8e02410465..4d8be173f9 100644 --- a/xen/arch/arm/include/asm/processor.h +++ b/xen/arch/arm/include/asm/processor.h @@ -1,5 +1,5 @@ -#ifndef __ASM_ARM_PROCESSOR_H -#define __ASM_ARM_PROCESSOR_H +#ifndef ASM__ARM__PROCESSOR_H +#define ASM__ARM__PROCESSOR_H =20 #ifndef __ASSEMBLY__ #include @@ -616,7 +616,7 @@ register_t get_default_cptr_flags(void); } while (0) =20 #endif /* __ASSEMBLY__ */ -#endif /* __ASM_ARM_PROCESSOR_H */ +#endif /* ASM__ARM__PROCESSOR_H */ /* * Local variables: * mode: C diff --git a/xen/arch/arm/include/asm/procinfo.h b/xen/arch/arm/include/asm= /procinfo.h index 3a05f27784..d3b9f7d47c 100644 --- a/xen/arch/arm/include/asm/procinfo.h +++ b/xen/arch/arm/include/asm/procinfo.h @@ -18,8 +18,8 @@ * GNU General Public License for more details. */ =20 -#ifndef __ASM_ARM_PROCINFO_H -#define __ASM_ARM_PROCINFO_H +#ifndef ASM__ARM__PROCINFO_H +#define ASM__ARM__PROCINFO_H =20 #include =20 diff --git a/xen/arch/arm/include/asm/psci.h b/xen/arch/arm/include/asm/psc= i.h index 4780972621..e4e1abbebc 100644 --- a/xen/arch/arm/include/asm/psci.h +++ b/xen/arch/arm/include/asm/psci.h @@ -1,5 +1,5 @@ -#ifndef __ASM_PSCI_H__ -#define __ASM_PSCI_H__ +#ifndef ASM__ARM__PSCI_H +#define ASM__ARM__PSCI_H =20 #include =20 @@ -82,7 +82,7 @@ void call_psci_system_reset(void); #define PSCI_VERSION(major, minor) \ (((major) << PSCI_VERSION_MAJOR_SHIFT) | (minor)) =20 -#endif /* __ASM_PSCI_H__ */ +#endif /* ASM__ARM__PSCI_H */ =20 /* * Local variables: diff --git a/xen/arch/arm/include/asm/regs.h b/xen/arch/arm/include/asm/reg= s.h index 0d9f239a77..47a22ef0a4 100644 --- a/xen/arch/arm/include/asm/regs.h +++ b/xen/arch/arm/include/asm/regs.h @@ -1,5 +1,5 @@ -#ifndef __ARM_REGS_H__ -#define __ARM_REGS_H__ +#ifndef ASM__ARM__REGS_H +#define ASM__ARM__REGS_H =20 #define PSR_MODE_MASK 0x1f =20 @@ -74,7 +74,7 @@ static inline void uint64_to_regpair(register_t *reg0, re= gister_t *reg1, =20 #endif =20 -#endif /* __ARM_REGS_H__ */ +#endif /* ASM__ARM__REGS_H */ /* * Local variables: * mode: C diff --git a/xen/arch/arm/include/asm/scif-uart.h b/xen/arch/arm/include/as= m/scif-uart.h index bce3404898..23f4bfe3fc 100644 --- a/xen/arch/arm/include/asm/scif-uart.h +++ b/xen/arch/arm/include/asm/scif-uart.h @@ -18,8 +18,8 @@ * GNU General Public License for more details. */ =20 -#ifndef __ASM_ARM_SCIF_UART_H -#define __ASM_ARM_SCIF_UART_H +#ifndef ASM__ARM__SCIF_UART_H +#define ASM__ARM__SCIF_UART_H =20 /* Register offsets (SCIF) */ #define SCIF_SCSMR (0x00) /* Serial mode register */ @@ -115,7 +115,7 @@ #define SCASSR_RDF (1 << 1) /* Receive FIFO Data Full */ #define SCASSR_DR (1 << 0) /* Receive Data Ready */ =20 -#endif /* __ASM_ARM_SCIF_UART_H */ +#endif /* ASM__ARM__SCIF_UART_H */ =20 /* * Local variables: diff --git a/xen/arch/arm/include/asm/setup.h b/xen/arch/arm/include/asm/se= tup.h index 64c227d171..95ac787e2f 100644 --- a/xen/arch/arm/include/asm/setup.h +++ b/xen/arch/arm/include/asm/setup.h @@ -1,5 +1,5 @@ -#ifndef __ARM_SETUP_H_ -#define __ARM_SETUP_H_ +#ifndef ASM__ARM__SETUP_H +#define ASM__ARM__SETUP_H =20 #include #include diff --git a/xen/arch/arm/include/asm/short-desc.h b/xen/arch/arm/include/a= sm/short-desc.h index 9652a103c4..4d28e54598 100644 --- a/xen/arch/arm/include/asm/short-desc.h +++ b/xen/arch/arm/include/asm/short-desc.h @@ -1,5 +1,5 @@ -#ifndef __ARM_SHORT_DESC_H__ -#define __ARM_SHORT_DESC_H__ +#ifndef ASM__ARM__SHORT_DESC_H +#define ASM__ARM__SHORT_DESC_H =20 /* * First level translation table descriptor types used by the AArch32 @@ -127,4 +127,4 @@ typedef union { short_desc_l2_lpage_t lpg; } short_desc_t; =20 -#endif /* __ARM_SHORT_DESC_H__ */ +#endif /* ASM__ARM__SHORT_DESC_H */ diff --git a/xen/arch/arm/include/asm/smccc.h b/xen/arch/arm/include/asm/sm= ccc.h index a289c48b7f..6c7735dece 100644 --- a/xen/arch/arm/include/asm/smccc.h +++ b/xen/arch/arm/include/asm/smccc.h @@ -13,8 +13,8 @@ * */ =20 -#ifndef __ASM_ARM_SMCCC_H__ -#define __ASM_ARM_SMCCC_H__ +#ifndef ASM__ARM__SMCCC_H +#define ASM__ARM__SMCCC_H =20 #include #include @@ -390,7 +390,7 @@ void arm_smccc_1_2_smc(const struct arm_smccc_1_2_regs = *args, #define ARM_SMCCC_RESERVED_RANGE_START 0x0 #define ARM_SMCCC_RESERVED_RANGE_END 0x0100FFFF =20 -#endif /* __ASM_ARM_SMCCC_H__ */ +#endif /* ASM__ARM__SMCCC_H */ =20 /* * Local variables: diff --git a/xen/arch/arm/include/asm/smp.h b/xen/arch/arm/include/asm/smp.h index e99a3a3f53..e6c5601596 100644 --- a/xen/arch/arm/include/asm/smp.h +++ b/xen/arch/arm/include/asm/smp.h @@ -1,5 +1,5 @@ -#ifndef __ASM_SMP_H -#define __ASM_SMP_H +#ifndef ASM__ARM__SMP_H +#define ASM__ARM__SMP_H =20 #ifndef __ASSEMBLY__ #include diff --git a/xen/arch/arm/include/asm/spinlock.h b/xen/arch/arm/include/asm= /spinlock.h index 42b0f584fe..b1fd46336f 100644 --- a/xen/arch/arm/include/asm/spinlock.h +++ b/xen/arch/arm/include/asm/spinlock.h @@ -1,5 +1,5 @@ -#ifndef __ASM_SPINLOCK_H -#define __ASM_SPINLOCK_H +#ifndef ASM__ARM__SPINLOCK_H +#define ASM__ARM__SPINLOCK_H =20 #define arch_lock_acquire_barrier() smp_mb() #define arch_lock_release_barrier() smp_mb() @@ -12,4 +12,4 @@ =20 #define arch_lock_signal_wmb() arch_lock_signal() =20 -#endif /* __ASM_SPINLOCK_H */ +#endif /* ASM__ARM__SPINLOCK_H */ diff --git a/xen/arch/arm/include/asm/static-evtchn.h b/xen/arch/arm/includ= e/asm/static-evtchn.h index f964522f6a..5f7916f2ac 100644 --- a/xen/arch/arm/include/asm/static-evtchn.h +++ b/xen/arch/arm/include/asm/static-evtchn.h @@ -1,7 +1,7 @@ /* SPDX-License-Identifier: GPL-2.0-only */ =20 -#ifndef __ASM_STATIC_EVTCHN_H_ -#define __ASM_STATIC_EVTCHN_H_ +#ifndef ASM__ARM__STATIC_EVTCHN_H +#define ASM__ARM__STATIC_EVTCHN_H =20 #ifdef CONFIG_STATIC_EVTCHN =20 @@ -13,7 +13,7 @@ static inline void alloc_static_evtchn(void) {}; =20 #endif /* CONFIG_STATIC_EVTCHN */ =20 -#endif /* __ASM_STATIC_EVTCHN_H_ */ +#endif /* ASM__ARM__STATIC_EVTCHN_H */ =20 /* * Local variables: diff --git a/xen/arch/arm/include/asm/static-memory.h b/xen/arch/arm/includ= e/asm/static-memory.h index 804166e541..654d47eb77 100644 --- a/xen/arch/arm/include/asm/static-memory.h +++ b/xen/arch/arm/include/asm/static-memory.h @@ -1,7 +1,7 @@ /* SPDX-License-Identifier: GPL-2.0-only */ =20 -#ifndef __ASM_STATIC_MEMORY_H_ -#define __ASM_STATIC_MEMORY_H_ +#ifndef ASM__ARM__STATIC_MEMORY_H +#define ASM__ARM__STATIC_MEMORY_H =20 #include #include @@ -46,7 +46,7 @@ static inline void init_staticmem_pages(void) {}; =20 #endif /* CONFIG_STATIC_MEMORY */ =20 -#endif /* __ASM_STATIC_MEMORY_H_ */ +#endif /* ASM__ARM__STATIC_MEMORY_H */ =20 /* * Local variables: diff --git a/xen/arch/arm/include/asm/static-shmem.h b/xen/arch/arm/include= /asm/static-shmem.h index fd0867c4f2..5e9b69d66f 100644 --- a/xen/arch/arm/include/asm/static-shmem.h +++ b/xen/arch/arm/include/asm/static-shmem.h @@ -1,7 +1,7 @@ /* SPDX-License-Identifier: GPL-2.0-only */ =20 -#ifndef __ASM_STATIC_SHMEM_H_ -#define __ASM_STATIC_SHMEM_H_ +#ifndef ASM__ARM__STATIC_SHMEM_H +#define ASM__ARM__STATIC_SHMEM_H =20 #include #include @@ -106,7 +106,7 @@ static inline void shm_mem_node_fill_reg_range(const st= ruct kernel_info *kinfo, =20 #endif /* CONFIG_STATIC_SHM */ =20 -#endif /* __ASM_STATIC_SHMEM_H_ */ +#endif /* ASM__ARM__STATIC_SHMEM_H */ =20 /* * Local variables: diff --git a/xen/arch/arm/include/asm/string.h b/xen/arch/arm/include/asm/s= tring.h index b485e49044..8cbcfca3f8 100644 --- a/xen/arch/arm/include/asm/string.h +++ b/xen/arch/arm/include/asm/string.h @@ -1,5 +1,5 @@ -#ifndef __ARM_STRING_H__ -#define __ARM_STRING_H__ +#ifndef ASM__ARM__STRING_H +#define ASM__ARM__STRING_H =20 =20 /* @@ -42,7 +42,7 @@ void __memzero(void *ptr, size_t n); =20 #endif =20 -#endif /* __ARM_STRING_H__ */ +#endif /* ASM__ARM__STRING_H */ /* * Local variables: * mode: C diff --git a/xen/arch/arm/include/asm/sysregs.h b/xen/arch/arm/include/asm/= sysregs.h index 61e30c9e51..98523e96d3 100644 --- a/xen/arch/arm/include/asm/sysregs.h +++ b/xen/arch/arm/include/asm/sysregs.h @@ -1,5 +1,5 @@ -#ifndef __ASM_ARM_SYSREGS_H -#define __ASM_ARM_SYSREGS_H +#ifndef ASM__ARM__SYSREGS_H +#define ASM__ARM__SYSREGS_H =20 #if defined(CONFIG_ARM_32) # include @@ -33,7 +33,7 @@ static inline register_t read_sysreg_par(void) =20 #endif /* !__ASSEMBLY__ */ =20 -#endif /* __ASM_ARM_SYSREGS_H */ +#endif /* ASM__ARM__SYSREGS_H */ /* * Local variables: * mode: C diff --git a/xen/arch/arm/include/asm/system.h b/xen/arch/arm/include/asm/s= ystem.h index 65d5c8e423..e69340c71b 100644 --- a/xen/arch/arm/include/asm/system.h +++ b/xen/arch/arm/include/asm/system.h @@ -1,6 +1,6 @@ /* Portions taken from Linux arch arm */ -#ifndef __ASM_SYSTEM_H -#define __ASM_SYSTEM_H +#ifndef ASM__ARM__SYSTEM_H +#define ASM__ARM__SYSTEM_H =20 #include #include diff --git a/xen/arch/arm/include/asm/tee/ffa.h b/xen/arch/arm/include/asm/= tee/ffa.h index 24cd4d99c8..ef7b21840a 100644 --- a/xen/arch/arm/include/asm/tee/ffa.h +++ b/xen/arch/arm/include/asm/tee/ffa.h @@ -7,8 +7,8 @@ * Copyright (C) 2023 Linaro Limited */ =20 -#ifndef __ASM_ARM_TEE_FFA_H__ -#define __ASM_ARM_TEE_FFA_H__ +#ifndef ASM__ARM__TEE__FFA_H +#define ASM__ARM__TEE__FFA_H =20 #include =20 @@ -31,4 +31,4 @@ static inline bool is_ffa_fid(uint32_t fid) #define FFA_NR_FUNCS 0 #endif =20 -#endif /*__ASM_ARM_TEE_FFA_H__*/ +#endif /*ASM__ARM__TEE__FFA_H*/ diff --git a/xen/arch/arm/include/asm/tee/optee_msg.h b/xen/arch/arm/includ= e/asm/tee/optee_msg.h index fe743dbde3..ec2d267981 100644 --- a/xen/arch/arm/include/asm/tee/optee_msg.h +++ b/xen/arch/arm/include/asm/tee/optee_msg.h @@ -2,8 +2,8 @@ /* * Copyright (c) 2015-2017, Linaro Limited */ -#ifndef _OPTEE_MSG_H -#define _OPTEE_MSG_H +#ifndef ASM__ARM__TEE__OPTEE_MSG_H +#define ASM__ARM__TEE__OPTEE_MSG_H =20 #include #include @@ -307,4 +307,4 @@ struct optee_msg_arg { #define OPTEE_MSG_CMD_UNREGISTER_SHM 5 #define OPTEE_MSG_FUNCID_CALL_WITH_ARG 0x0004 =20 -#endif /* _OPTEE_MSG_H */ +#endif /* ASM__ARM__TEE__OPTEE_MSG_H */ diff --git a/xen/arch/arm/include/asm/tee/optee_rpc_cmd.h b/xen/arch/arm/in= clude/asm/tee/optee_rpc_cmd.h index d6b9dfe30c..891d23be6a 100644 --- a/xen/arch/arm/include/asm/tee/optee_rpc_cmd.h +++ b/xen/arch/arm/include/asm/tee/optee_rpc_cmd.h @@ -3,8 +3,8 @@ * Copyright (c) 2016-2017, Linaro Limited */ =20 -#ifndef __OPTEE_RPC_CMD_H -#define __OPTEE_RPC_CMD_H +#ifndef ASM__ARM__TEE__OPTEE_RPC_CMD_H +#define ASM__ARM__TEE__OPTEE_RPC_CMD_H =20 /* * All RPC is done with a struct optee_msg_arg as bearer of information, @@ -315,4 +315,4 @@ =20 /* End of definition of protocol for command OPTEE_RPC_CMD_SOCKET */ =20 -#endif /*__OPTEE_RPC_CMD_H*/ +#endif /*ASM__ARM__TEE__OPTEE_RPC_CMD_H*/ diff --git a/xen/arch/arm/include/asm/tee/optee_smc.h b/xen/arch/arm/includ= e/asm/tee/optee_smc.h index 2f5c702326..6e0bde66d6 100644 --- a/xen/arch/arm/include/asm/tee/optee_smc.h +++ b/xen/arch/arm/include/asm/tee/optee_smc.h @@ -2,8 +2,8 @@ /* * Copyright (c) 2015, Linaro Limited */ -#ifndef OPTEE_SMC_H -#define OPTEE_SMC_H +#ifndef ASM__ARM__TEE__OPTEE_SMC_H +#define ASM__ARM__TEE__OPTEE_SMC_H =20 /* * This file is exported by OP-TEE and is in kept in sync between secure @@ -564,4 +564,4 @@ ((((ret) & OPTEE_SMC_RETURN_RPC_PREFIX_MASK) =3D=3D \ OPTEE_SMC_RETURN_RPC_PREFIX))) =20 -#endif /* OPTEE_SMC_H */ +#endif /* ASM__ARM__TEE__OPTEE_SMC_H */ diff --git a/xen/arch/arm/include/asm/tee/tee.h b/xen/arch/arm/include/asm/= tee/tee.h index 0169fd746b..58659290d6 100644 --- a/xen/arch/arm/include/asm/tee/tee.h +++ b/xen/arch/arm/include/asm/tee/tee.h @@ -11,8 +11,8 @@ * published by the Free Software Foundation. */ =20 -#ifndef __ARCH_ARM_TEE_TEE_H__ -#define __ARCH_ARM_TEE_TEE_H__ +#ifndef ASM__ARM__TEE__TEE_H +#define ASM__ARM__TEE__TEE_H =20 #include #include @@ -121,7 +121,7 @@ static inline void tee_free_domain_ctx(struct domain *d) =20 #endif /* CONFIG_TEE */ =20 -#endif /* __ARCH_ARM_TEE_TEE_H__ */ +#endif /* ASM__ARM__TEE__TEE_H */ =20 /* * Local variables: diff --git a/xen/arch/arm/include/asm/time.h b/xen/arch/arm/include/asm/tim= e.h index 49ad8c1a6d..d4301ea852 100644 --- a/xen/arch/arm/include/asm/time.h +++ b/xen/arch/arm/include/asm/time.h @@ -1,5 +1,5 @@ -#ifndef __ARM_TIME_H__ -#define __ARM_TIME_H__ +#ifndef ASM__ARM__TIME_H +#define ASM__ARM__TIME_H =20 #include #include @@ -108,7 +108,7 @@ void preinit_xen_time(void); =20 void force_update_vcpu_system_time(struct vcpu *v); =20 -#endif /* __ARM_TIME_H__ */ +#endif /* ASM__ARM__TIME_H */ /* * Local variables: * mode: C diff --git a/xen/arch/arm/include/asm/traps.h b/xen/arch/arm/include/asm/tr= aps.h index 9a60dbf70e..2a935a9afb 100644 --- a/xen/arch/arm/include/asm/traps.h +++ b/xen/arch/arm/include/asm/traps.h @@ -1,5 +1,5 @@ -#ifndef __ASM_ARM_TRAPS__ -#define __ASM_ARM_TRAPS__ +#ifndef ASM__ARM__TRAPS_H +#define ASM__ARM__TRAPS_H =20 #include #include @@ -118,7 +118,7 @@ static inline register_t sign_extend(const struct hsr_d= abt dabt, register_t r) =20 void finalize_instr_emulation(const struct instr_details *instr); =20 -#endif /* __ASM_ARM_TRAPS__ */ +#endif /* ASM__ARM__TRAPS_H */ /* * Local variables: * mode: C diff --git a/xen/arch/arm/include/asm/types.h b/xen/arch/arm/include/asm/ty= pes.h index b0a34ea730..28e55890dc 100644 --- a/xen/arch/arm/include/asm/types.h +++ b/xen/arch/arm/include/asm/types.h @@ -1,5 +1,5 @@ -#ifndef __ARM_TYPES_H__ -#define __ARM_TYPES_H__ +#ifndef ASM__ARM__TYPES_H +#define ASM__ARM__TYPES_H =20 #if defined(CONFIG_ARM_32) =20 @@ -37,7 +37,7 @@ typedef u64 register_t; =20 #endif =20 -#endif /* __ARM_TYPES_H__ */ +#endif /* ASM__ARM__TYPES_H */ /* * Local variables: * mode: C diff --git a/xen/arch/arm/include/asm/vfp.h b/xen/arch/arm/include/asm/vfp.h index 142a91ef8b..b7cc2ba906 100644 --- a/xen/arch/arm/include/asm/vfp.h +++ b/xen/arch/arm/include/asm/vfp.h @@ -1,5 +1,5 @@ -#ifndef _ASM_VFP_H -#define _ASM_VFP_H +#ifndef ASM__ARM__VFP_H +#define ASM__ARM__VFP_H =20 struct vcpu; =20 @@ -14,7 +14,7 @@ struct vcpu; void vfp_save_state(struct vcpu *v); void vfp_restore_state(struct vcpu *v); =20 -#endif /* _ASM_VFP_H */ +#endif /* ASM__ARM__VFP_H */ /* * Local variables: * mode: C diff --git a/xen/arch/arm/include/asm/vgic-emul.h b/xen/arch/arm/include/as= m/vgic-emul.h index fd0cfa2175..cf3670a6cd 100644 --- a/xen/arch/arm/include/asm/vgic-emul.h +++ b/xen/arch/arm/include/asm/vgic-emul.h @@ -1,5 +1,5 @@ -#ifndef __ASM_ARM_VGIC_EMUL_H__ -#define __ASM_ARM_VGIC_EMUL_H__ +#ifndef ASM__ARM__VGIC_EMUL_H +#define ASM__ARM__VGIC_EMUL_H =20 /* * Helpers to create easily a case to match emulate a single register or @@ -21,7 +21,7 @@ static inline bool vgic_reg64_check_access(struct hsr_dab= t dabt) return ( dabt.size =3D=3D DABT_DOUBLE_WORD || dabt.size =3D=3D DABT_WO= RD ); } =20 -#endif /* __ASM_ARM_VGIC_EMUL_H__ */ +#endif /* ASM__ARM__VGIC_EMUL_H */ =20 /* * Local variables: diff --git a/xen/arch/arm/include/asm/vgic.h b/xen/arch/arm/include/asm/vgi= c.h index e309dca1ad..bb1e45554a 100644 --- a/xen/arch/arm/include/asm/vgic.h +++ b/xen/arch/arm/include/asm/vgic.h @@ -15,8 +15,8 @@ * GNU General Public License for more details. */ =20 -#ifndef __ASM_ARM_VGIC_H__ -#define __ASM_ARM_VGIC_H__ +#ifndef ASM__ARM__VGIC_H +#define ASM__ARM__VGIC_H =20 #ifdef CONFIG_NEW_VGIC #include @@ -388,7 +388,7 @@ void vgic_sync_from_lrs(struct vcpu *v); =20 int vgic_vcpu_pending_irq(struct vcpu *v); =20 -#endif /* __ASM_ARM_VGIC_H__ */ +#endif /* ASM__ARM__VGIC_H */ =20 /* * Local variables: diff --git a/xen/arch/arm/include/asm/vpl011.h b/xen/arch/arm/include/asm/v= pl011.h index c09abcd7a9..bbfa5661d9 100644 --- a/xen/arch/arm/include/asm/vpl011.h +++ b/xen/arch/arm/include/asm/vpl011.h @@ -16,8 +16,8 @@ * this program; If not, see . */ =20 -#ifndef _VPL011_H_ -#define _VPL011_H_ +#ifndef ASM__ARM__VPL011_H +#define ASM__ARM__VPL011_H =20 #include #include @@ -79,7 +79,7 @@ static inline int domain_vpl011_init(struct domain *d, =20 static inline void domain_vpl011_deinit(struct domain *d) { } #endif -#endif /* _VPL011_H_ */ +#endif /* ASM__ARM__VPL011_H */ =20 /* * Local variables: diff --git a/xen/arch/arm/include/asm/vpsci.h b/xen/arch/arm/include/asm/vp= sci.h index 0cca5e6830..fc158d827e 100644 --- a/xen/arch/arm/include/asm/vpsci.h +++ b/xen/arch/arm/include/asm/vpsci.h @@ -17,8 +17,8 @@ * along with this program; If not, see . */ =20 -#ifndef __ASM_VPSCI_H__ -#define __ASM_VPSCI_H__ +#ifndef ASM__ARM__VPSCI_H +#define ASM__ARM__VPSCI_H =20 #include =20 @@ -29,7 +29,7 @@ bool do_vpsci_0_1_call(struct cpu_user_regs *regs, uint32_t fid); bool do_vpsci_0_2_call(struct cpu_user_regs *regs, uint32_t fid); =20 -#endif /* __ASM_VPSCI_H__ */ +#endif /* ASM__ARM__VPSCI_H */ =20 /* * Local variables: diff --git a/xen/arch/arm/include/asm/vreg.h b/xen/arch/arm/include/asm/vre= g.h index 387ce76e7e..97b9d71066 100644 --- a/xen/arch/arm/include/asm/vreg.h +++ b/xen/arch/arm/include/asm/vreg.h @@ -1,8 +1,8 @@ /* * Helpers to emulate co-processor and system registers */ -#ifndef __ASM_ARM_VREG__ -#define __ASM_ARM_VREG__ +#ifndef ASM__ARM__VREG_H +#define ASM__ARM__VREG_H =20 typedef bool (*vreg_reg64_fn_t)(struct cpu_user_regs *regs, uint64_t *r, bool read); @@ -145,4 +145,4 @@ VREG_REG_HELPERS(32, 0x3) =20 #undef VREG_REG_HELPERS =20 -#endif /* __ASM_ARM_VREG__ */ +#endif /* ASM__ARM__VREG_H */ diff --git a/xen/arch/arm/include/asm/vtimer.h b/xen/arch/arm/include/asm/v= timer.h index 9d4fb4c6e8..a2c54d000b 100644 --- a/xen/arch/arm/include/asm/vtimer.h +++ b/xen/arch/arm/include/asm/vtimer.h @@ -17,8 +17,8 @@ * GNU General Public License for more details. */ =20 -#ifndef __ARCH_ARM_VTIMER_H__ -#define __ARCH_ARM_VTIMER_H__ +#ifndef ASM__ARM__VTIMER_H +#define ASM__ARM__VTIMER_H =20 extern int domain_vtimer_init(struct domain *d, struct xen_arch_domainconfig *config); diff --git a/xen/arch/arm/tee/ffa_private.h b/xen/arch/arm/tee/ffa_private.h index 7c6b06f686..b32f4a21a2 100644 --- a/xen/arch/arm/tee/ffa_private.h +++ b/xen/arch/arm/tee/ffa_private.h @@ -3,8 +3,8 @@ * Copyright (C) 2023 Linaro Limited */ =20 -#ifndef __FFA_PRIVATE_H__ -#define __FFA_PRIVATE_H__ +#ifndef ARM__TEE__FFA_PRIVATE_H +#define ARM__TEE__FFA_PRIVATE_H =20 #include #include @@ -398,4 +398,4 @@ static inline int32_t ffa_rx_release(void) return ffa_simple_call(FFA_RX_RELEASE, 0, 0, 0, 0); } =20 -#endif /*__FFA_PRIVATE_H__*/ +#endif /*ARM__TEE__FFA_PRIVATE_H*/ diff --git a/xen/arch/arm/vgic/vgic-mmio.h b/xen/arch/arm/vgic/vgic-mmio.h index 3566cf237c..1bbcb778e9 100644 --- a/xen/arch/arm/vgic/vgic-mmio.h +++ b/xen/arch/arm/vgic/vgic-mmio.h @@ -13,8 +13,8 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -#ifndef __XEN_ARM_VGIC_VGIC_MMIO_H__ -#define __XEN_ARM_VGIC_VGIC_MMIO_H__ +#ifndef ARM__VGIC__VGIC_MMIO_H +#define ARM__VGIC__VGIC_MMIO_H =20 struct vgic_register_region { unsigned int reg_offset; diff --git a/xen/arch/arm/vgic/vgic.h b/xen/arch/arm/vgic/vgic.h index 534b24bcd3..3cb5e37077 100644 --- a/xen/arch/arm/vgic/vgic.h +++ b/xen/arch/arm/vgic/vgic.h @@ -14,8 +14,8 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -#ifndef __XEN_ARM_VGIC_VGIC_H__ -#define __XEN_ARM_VGIC_VGIC_H__ +#ifndef ARM__VGIC__VGIC_H +#define ARM__VGIC__VGIC_H =20 /* * We piggy-back on the already used KVM product ID, but use a different diff --git a/xen/arch/arm/vpci.h b/xen/arch/arm/vpci.h index 3c713f3fcd..8d01a7c006 100644 --- a/xen/arch/arm/vpci.h +++ b/xen/arch/arm/vpci.h @@ -12,8 +12,8 @@ * GNU General Public License for more details. */ =20 -#ifndef __ARCH_ARM_VPCI_H__ -#define __ARCH_ARM_VPCI_H__ +#ifndef ARM__VPCI_H +#define ARM__VPCI_H =20 #ifdef CONFIG_HAS_VPCI int domain_vpci_init(struct domain *d); @@ -30,7 +30,7 @@ static inline unsigned int domain_vpci_get_num_mmio_handl= ers(struct domain *d) } #endif =20 -#endif /* __ARCH_ARM_VPCI_H__ */ +#endif /* ARM__VPCI_H */ =20 /* * Local variables: diff --git a/xen/arch/arm/vuart.h b/xen/arch/arm/vuart.h index e90d84c6ed..697cb0225d 100644 --- a/xen/arch/arm/vuart.h +++ b/xen/arch/arm/vuart.h @@ -17,8 +17,8 @@ * GNU General Public License for more details. */ =20 -#ifndef __ARCH_ARM_VUART_H__ -#define __ARCH_ARM_VUART_H__ +#ifndef ARM__VUART_H +#define ARM__VUART_H =20 struct domain; =20 @@ -42,7 +42,7 @@ static inline void domain_vuart_free(struct domain *d) {}; =20 #endif /* CONFIG_HWDOM_VUART */ =20 -#endif /* __ARCH_ARM_VUART_H__ */ +#endif /* ARM__VUART_H */ =20 /* * Local variables: diff --git a/xen/drivers/passthrough/arm/smmu-v3.h b/xen/drivers/passthroug= h/arm/smmu-v3.h index f09048812c..d104588aea 100644 --- a/xen/drivers/passthrough/arm/smmu-v3.h +++ b/xen/drivers/passthrough/arm/smmu-v3.h @@ -5,8 +5,8 @@ * Copyright (C) 2022 ARM Limited */ =20 -#ifndef _ARM_SMMU_V3_H -#define _ARM_SMMU_V3_H +#ifndef DRIVERS__PASSTHROUGH__ARM__SMMU_V3_H +#define DRIVERS__PASSTHROUGH__ARM__SMMU_V3_H =20 /* MMIO registers */ #define ARM_SMMU_IDR0 0x0 @@ -668,4 +668,4 @@ struct arm_smmu_domain { spinlock_t devices_lock; }; =20 -#endif /* _ARM_SMMU_V3_H */ +#endif /* DRIVERS__PASSTHROUGH__ARM__SMMU_V3_H */ diff --git a/xen/include/public/arch-arm.h b/xen/include/public/arch-arm.h index e2412a1747..65dac78ce1 100644 --- a/xen/include/public/arch-arm.h +++ b/xen/include/public/arch-arm.h @@ -7,8 +7,8 @@ * Copyright 2011 (C) Citrix Systems */ =20 -#ifndef __XEN_PUBLIC_ARCH_ARM_H__ -#define __XEN_PUBLIC_ARCH_ARM_H__ +#ifndef PUBLIC__ARCH_ARM_H +#define PUBLIC__ARCH_ARM_H =20 /* * `incontents 50 arm_abi Hypercall Calling Convention @@ -542,7 +542,7 @@ typedef uint64_t xen_callback_t; typedef struct xen_pmu_arch { uint8_t dummy; } xen_pmu_arch_t; #endif =20 -#endif /* __XEN_PUBLIC_ARCH_ARM_H__ */ +#endif /* PUBLIC__ARCH_ARM_H */ =20 /* * Local variables: diff --git a/xen/include/public/arch-arm/hvm/save.h b/xen/include/public/ar= ch-arm/hvm/save.h index fc1b28f59b..77ebe54aee 100644 --- a/xen/include/public/arch-arm/hvm/save.h +++ b/xen/include/public/arch-arm/hvm/save.h @@ -6,8 +6,8 @@ * Copyright (c) 2012 Citrix Systems Ltd. */ =20 -#ifndef __XEN_PUBLIC_HVM_SAVE_ARM_H__ -#define __XEN_PUBLIC_HVM_SAVE_ARM_H__ +#ifndef PUBLIC__ARCH_ARM__HVM__SAVE_H +#define PUBLIC__ARCH_ARM__HVM__SAVE_H =20 #endif =20 diff --git a/xen/include/public/arch-arm/smccc.h b/xen/include/public/arch-= arm/smccc.h index 8a9321ebed..774f8c6987 100644 --- a/xen/include/public/arch-arm/smccc.h +++ b/xen/include/public/arch-arm/smccc.h @@ -7,8 +7,8 @@ * Copyright 2017 (C) EPAM Systems */ =20 -#ifndef __XEN_PUBLIC_ARCH_ARM_SMCCC_H__ -#define __XEN_PUBLIC_ARCH_ARM_SMCCC_H__ +#ifndef PUBLIC__ARCH_ARM__SMCCC_H +#define PUBLIC__ARCH_ARM__SMCCC_H =20 #include "public/xen.h" =20 @@ -37,7 +37,7 @@ #define SSSC_SMCCC_UID XEN_DEFINE_UUID(0xf863386fU, 0x4b39, 0x4cbd, 0x9220= ,\ 0xce, 0x16, 0x41, 0xe5, 0x9f, 0x6f) =20 -#endif /* __XEN_PUBLIC_ARCH_ARM_SMCCC_H__ */ +#endif /* PUBLIC__ARCH_ARM__SMCCC_H */ =20 /* * Local variables: --=20 2.34.1