From 6ceaef4804c52f0190fe9c09ff89cb19affbd56f Mon Sep 17 00:00:00 2001 From: Andrei Warkentin Date: Fri, 17 Feb 2023 18:44:15 -0600 Subject: [PATCH] MdePkg: BaseCpuLib: Fix RISCV CpuSleep symbol name. CpuSleep, not _CpuSleep. Cc: Daniel Schaefer Cc: Michael D Kinney Cc: Liming Gao Cc: Zhiguang Liu Reviewed-by: Sunil V L Signed-off-by: Andrei Warkentin --- MdePkg/Library/BaseCpuLib/RiscV/Cpu.S | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MdePkg/Library/BaseCpuLib/RiscV/Cpu.S b/MdePkg/Library/BaseCpuLib/RiscV/Cpu.S index 375b91d314..d6560087e0 100644 --- a/MdePkg/Library/BaseCpuLib/RiscV/Cpu.S +++ b/MdePkg/Library/BaseCpuLib/RiscV/Cpu.S @@ -10,9 +10,9 @@ .align 3 .section .text -.global ASM_PFX(_CpuSleep) +.global ASM_PFX(CpuSleep) -ASM_PFX(_CpuSleep): +ASM_PFX(CpuSleep): wfi ret