summaryrefslogtreecommitdiff
path: root/MdePkg/Library/BaseLib/X64/CpuId.asm
diff options
context:
space:
mode:
Diffstat (limited to 'MdePkg/Library/BaseLib/X64/CpuId.asm')
-rw-r--r--MdePkg/Library/BaseLib/X64/CpuId.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/MdePkg/Library/BaseLib/X64/CpuId.asm b/MdePkg/Library/BaseLib/X64/CpuId.asm
index b5ac0fd2fc..5e7ee19c53 100644
--- a/MdePkg/Library/BaseLib/X64/CpuId.asm
+++ b/MdePkg/Library/BaseLib/X64/CpuId.asm
@@ -36,8 +36,8 @@
;------------------------------------------------------------------------------
AsmCpuid PROC USES rbx
mov eax, ecx
- push rdx
push rax ; save Index on stack
+ push rdx
cpuid
test r9, r9
jz @F