summaryrefslogtreecommitdiff
path: root/MdePkg/Library/BaseLib/Ia32/ReadPmc.S
diff options
context:
space:
mode:
Diffstat (limited to 'MdePkg/Library/BaseLib/Ia32/ReadPmc.S')
-rw-r--r--MdePkg/Library/BaseLib/Ia32/ReadPmc.S12
1 files changed, 3 insertions, 9 deletions
diff --git a/MdePkg/Library/BaseLib/Ia32/ReadPmc.S b/MdePkg/Library/BaseLib/Ia32/ReadPmc.S
index 868e85c23d..a6c4e6ef00 100644
--- a/MdePkg/Library/BaseLib/Ia32/ReadPmc.S
+++ b/MdePkg/Library/BaseLib/Ia32/ReadPmc.S
@@ -21,9 +21,7 @@
#
#------------------------------------------------------------------------------
-
-
-
+.global _AsmReadPmc
#------------------------------------------------------------------------------
# UINT64
@@ -32,11 +30,7 @@
# IN UINT32 PmcIndex
# );
#------------------------------------------------------------------------------
-.global _AsmReadPmc
-_AsmReadPmc:
- movl 4(%esp),%ecx
+_AsmReadPmc:
+ movl 4(%esp), %ecx
rdpmc
ret
-
-
-