]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/BaseLib/Synchronization.c
In before, FixedPcdGetxx macro was defined as global variable, it is wrong. It should...
[mirror_edk2.git] / MdePkg / Library / BaseLib / Synchronization.c
index 4c4734523d4a88f665499f8a6d634a61f8c3d37f..0d51956d748f6dda9f46cd0ee43b083352c74e78 100644 (file)
@@ -131,12 +131,12 @@ AcquireSpinLock (
   Tick = 0;\r
   Start = 0;\r
   End = 0;\r
-  if (FixedPcdGet32 (PcdSpinLockTimeout) > 0) {\r
+  if (PcdGet32 (PcdSpinLockTimeout) > 0) {\r
     Tick = GetPerformanceCounter ();\r
     Timeout = DivU64x32 (\r
                 MultU64x32 (\r
                   GetPerformanceCounterProperties (&Start, &End),\r
-                  FixedPcdGet32 (PcdSpinLockTimeout)\r
+                  PcdGet32 (PcdSpinLockTimeout)\r
                   ),\r
                 1000000\r
                 );\r