summaryrefslogtreecommitdiff
path: root/MdePkg/Library/BaseLib/GetPowerOfTwo64.c
diff options
context:
space:
mode:
authorgikidy <gikidy@6f19259b-4bc3-4df7-8a09-765794883524>2008-11-25 03:19:49 +0000
committergikidy <gikidy@6f19259b-4bc3-4df7-8a09-765794883524>2008-11-25 03:19:49 +0000
commit9aa049d9717f1260426918eab2d5986e838a8754 (patch)
treecb3b25e97e56c0140b2670aa37e131994a2392ab /MdePkg/Library/BaseLib/GetPowerOfTwo64.c
parent04fdba541287ba2759ce3e51157c38148ad8b4f6 (diff)
downloadedk2-platforms-9aa049d9717f1260426918eab2d5986e838a8754.tar.xz
Synchronize function comment in MdePkg\Library\BaseLib.h with the instance of this functions.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6718 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Library/BaseLib/GetPowerOfTwo64.c')
-rw-r--r--MdePkg/Library/BaseLib/GetPowerOfTwo64.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/MdePkg/Library/BaseLib/GetPowerOfTwo64.c b/MdePkg/Library/BaseLib/GetPowerOfTwo64.c
index 2f0f411ae4..344ce27519 100644
--- a/MdePkg/Library/BaseLib/GetPowerOfTwo64.c
+++ b/MdePkg/Library/BaseLib/GetPowerOfTwo64.c
@@ -19,7 +19,7 @@
/**
Returns the value of the highest bit set in a 64-bit value. Equivalent to
- 1 << HighBitSet64(x).
+ 1 << log2(x).
This function computes the value of the highest bit set in the 64-bit value
specified by Operand. If Operand is zero, then zero is returned.