summaryrefslogtreecommitdiffstats
path: root/MdePkg/Library/BaseLib/Ia32/CpuIdEx.S
diff options
context:
space:
mode:
Diffstat (limited to 'MdePkg/Library/BaseLib/Ia32/CpuIdEx.S')
-rw-r--r--MdePkg/Library/BaseLib/Ia32/CpuIdEx.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/MdePkg/Library/BaseLib/Ia32/CpuIdEx.S b/MdePkg/Library/BaseLib/Ia32/CpuIdEx.S
index 43c23b6415..e5255fb1a3 100644
--- a/MdePkg/Library/BaseLib/Ia32/CpuIdEx.S
+++ b/MdePkg/Library/BaseLib/Ia32/CpuIdEx.S
@@ -55,13 +55,13 @@ L1:
L2:
movl 28(%ebp), %ecx
jecxz L3
- popl %ecx
+ popl (%ecx)
L3:
movl 32(%ebp), %edx
jecxz L4
movl %edx, (%ecx)
L4:
movl 12(%ebp), %eax
- pop %ebx
leave
+ pop %ebx
ret