summaryrefslogtreecommitdiff
path: root/UefiCpuPkg/Library
diff options
context:
space:
mode:
authorJeff Fan <jeff.fan@intel.com>2016-11-25 13:21:20 +0800
committerJeff Fan <jeff.fan@intel.com>2016-11-28 08:57:09 +0800
commitf17e28c7911f6d2f985e7bb77e1c68cfd79bf056 (patch)
tree98a17e42e00b7ca9db56e83d8fb2d4cf328d800c /UefiCpuPkg/Library
parentf56379f3610e51a01a18c00e4a0d5fded3af0657 (diff)
downloadedk2-f17e28c7911f6d2f985e7bb77e1c68cfd79bf056.zip
edk2-f17e28c7911f6d2f985e7bb77e1c68cfd79bf056.tar.gz
edk2-f17e28c7911f6d2f985e7bb77e1c68cfd79bf056.tar.bz2
UefiCpuPkg/DxeMpLib: Remove unnecessary ret instruction
Reported-by: Laszlo Ersek <lersek@redhat.com> Cc: Laszlo Ersek <lersek@redhat.com> Cc: Feng Tian <feng.tian@intel.com> Cc: Michael D Kinney <michael.d.kinney@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jeff Fan <jeff.fan@intel.com> Reviewed-by: Laszlo Ersek <lersek@redhat.com> Tested-by: Laszlo Ersek <lersek@redhat.com>
Diffstat (limited to 'UefiCpuPkg/Library')
-rw-r--r--UefiCpuPkg/Library/MpInitLib/Ia32/MpFuncs.nasm1
-rw-r--r--UefiCpuPkg/Library/MpInitLib/X64/MpFuncs.nasm1
2 files changed, 0 insertions, 2 deletions
diff --git a/UefiCpuPkg/Library/MpInitLib/Ia32/MpFuncs.nasm b/UefiCpuPkg/Library/MpInitLib/Ia32/MpFuncs.nasm
index a48f0bc..52363e6 100644
--- a/UefiCpuPkg/Library/MpInitLib/Ia32/MpFuncs.nasm
+++ b/UefiCpuPkg/Library/MpInitLib/Ia32/MpFuncs.nasm
@@ -244,7 +244,6 @@ HltLoop:
cli
hlt
jmp HltLoop
- ret
AsmRelocateApLoopEnd:
;-------------------------------------------------------------------------------------
diff --git a/UefiCpuPkg/Library/MpInitLib/X64/MpFuncs.nasm b/UefiCpuPkg/Library/MpInitLib/X64/MpFuncs.nasm
index 34c07a6..fa54d01 100644
--- a/UefiCpuPkg/Library/MpInitLib/X64/MpFuncs.nasm
+++ b/UefiCpuPkg/Library/MpInitLib/X64/MpFuncs.nasm
@@ -274,7 +274,6 @@ HltLoop:
cli
hlt
jmp HltLoop
- ret
BITS 64
AsmRelocateApLoopEnd: