]> git.proxmox.com Git - mirror_edk2.git/blobdiff - ArmPkg/Drivers/ArmGic/ArmGicLib.c
ArmPkg/ArmGicLib: use correct loop variable
[mirror_edk2.git] / ArmPkg / Drivers / ArmGic / ArmGicLib.c
index 73795ed4e56c41a67f7d3778b03bce20db908d10..e658e9bff5d8107b3914bdf1e9e1e51a4e4d4cd7 100644 (file)
@@ -76,7 +76,7 @@ GicGetCpuRedistributorBase (
     }\r
 \r
     // Move to the next GIC Redistributor frame\r
-    GicRedistributorBase += GicRedistributorGranularity;\r
+    GicCpuRedistributorBase += GicRedistributorGranularity;\r
   }\r
 \r
   // The Redistributor has not been found for the current CPU\r