]> git.proxmox.com Git - mirror_edk2.git/commit
MdeModulePkg/PiDxeS3BootScriptLib: Rename mAcpiS3Enable to avoid dup symbol
authorMichael D Kinney <michael.d.kinney@intel.com>
Mon, 5 Apr 2021 22:10:32 +0000 (15:10 -0700)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Wed, 7 Apr 2021 16:10:59 +0000 (16:10 +0000)
commit9c08b3e7d5ac177a1ecb3678004fd94164865814
tree03faf98ec1576ad313f3a56e1f4f147bd8b0a401
parent4ac02962017c77bf38b462f970c884c2dc7931cf
MdeModulePkg/PiDxeS3BootScriptLib: Rename mAcpiS3Enable to avoid dup symbol

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3297

Rename the global variable mAcpiS3Enable to mS3BootScriptAcpiS3Enable
to avoid duplicate symbol errors from CLANGPDB tool change when
PiDxeS3BootScriptLib from the MdeModulePkg is linked with PiSmmCpuDxeSmm
from the UefiCpuPkg.

Cc: Jian J Wang <jian.j.wang@intel.com>
Cc: Hao A Wu <hao.a.wu@intel.com>
Cc: Eric Dong <eric.dong@intel.com>
Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com>
Reviewed-by: Hao A Wu <hao.a.wu@intel.com>
MdeModulePkg/Library/PiDxeS3BootScriptLib/BootScriptSave.c