Using the same include guard define name is preferred for all CPU architecture.
Cc: Kinney, Michael D <michael.d.kin...@intel.com> Cc: Andrei Warkentin <andrei.warken...@intel.com> Cc: Sunil V L <suni...@ventanamicro.com> Cc: Yimin Wang <yimin.w...@intel.com> Cc: Alan Sheng <alan.sh...@intel.com> Cc: Pedro Falcato <pedro.falc...@gmail.com> Signed-off-by: Gavin Xue <gavin....@intel.com> --- MdePkg/Include/LoongArch64/ProcessorBind.h | 5 +++-- MdePkg/Include/RiscV64/ProcessorBind.h | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/MdePkg/Include/LoongArch64/ProcessorBind.h b/MdePkg/Include/LoongArch64/ProcessorBind.h index 7064fd1e7c..98171875ff 100644 --- a/MdePkg/Include/LoongArch64/ProcessorBind.h +++ b/MdePkg/Include/LoongArch64/ProcessorBind.h @@ -2,13 +2,14 @@ Processor or Compiler specific defines and types for LoongArch Copyright (c) 2022, Loongson Technology Corporation Limited. All rights reserved.<BR> + Copyright (c) 2023, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ -#ifndef PROCESSOR_BIND_H_ -#define PROCESSOR_BIND_H_ +#ifndef __PROCESSOR_BIND_H__ +#define __PROCESSOR_BIND_H__ // // Define the processor type so other code can make processor based choices diff --git a/MdePkg/Include/RiscV64/ProcessorBind.h b/MdePkg/Include/RiscV64/ProcessorBind.h index 1d42d92de4..7f24e77b8c 100644 --- a/MdePkg/Include/RiscV64/ProcessorBind.h +++ b/MdePkg/Include/RiscV64/ProcessorBind.h @@ -2,13 +2,14 @@ Processor or Compiler specific defines and types for RISC-V Copyright (c) 2016 - 2020, Hewlett Packard Enterprise Development LP. All rights reserved.<BR> + Copyright (c) 2023, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ -#ifndef PROCESSOR_BIND_H__ -#define PROCESSOR_BIND_H__ +#ifndef __PROCESSOR_BIND_H__ +#define __PROCESSOR_BIND_H__ /// /// Define the processor type so other code can make processor based choices -- 2.33.0.windows.1 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#106616): https://edk2.groups.io/g/devel/message/106616 Mute This Topic: https://groups.io/mt/99936707/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-