summaryrefslogtreecommitdiff
path: root/MdePkg/Library/BaseLib/X64/ReadCr2.S
diff options
context:
space:
mode:
Diffstat (limited to 'MdePkg/Library/BaseLib/X64/ReadCr2.S')
-rw-r--r--MdePkg/Library/BaseLib/X64/ReadCr2.S6
1 files changed, 3 insertions, 3 deletions
diff --git a/MdePkg/Library/BaseLib/X64/ReadCr2.S b/MdePkg/Library/BaseLib/X64/ReadCr2.S
index 96361bef72..e286cdcab4 100644
--- a/MdePkg/Library/BaseLib/X64/ReadCr2.S
+++ b/MdePkg/Library/BaseLib/X64/ReadCr2.S
@@ -29,8 +29,8 @@
# VOID
# );
#------------------------------------------------------------------------------
-.global _AsmReadCr2;
-.align 16;
-_AsmReadCr2:
+.global ASM_PFX(AsmReadCr2
+.align 16
+ASM_PFX(AsmReadCr2):
mov %cr2, %rax
ret