mirror of https://github.com/acidanthera/audk.git
UefiCpuPkg/PiSmmCpuDxeSmm: Fix extraneous parentheses
Without this change, when building OvmfPkg with -D SMM_REQUIRE using the XCODE5 toolchain we get: error: equality comparison with extraneous parentheses which stops the build. Signed-off-by: Mike Beaton <mjsbeaton@gmail.com>
This commit is contained in:
parent
8d74a37944
commit
11d4edc7c6
|
@ -634,7 +634,7 @@ CreateExtendedProtectionRange (
|
|||
&MemorySpaceMap
|
||||
);
|
||||
for (Index = 0; Index < NumberOfSpaceDescriptors; Index++) {
|
||||
if ((MemorySpaceMap[Index].GcdMemoryType == EfiGcdMemoryTypeMemoryMappedIo)) {
|
||||
if (MemorySpaceMap[Index].GcdMemoryType == EfiGcdMemoryTypeMemoryMappedIo) {
|
||||
if (ADDRESS_IS_ALIGNED (MemorySpaceMap[Index].BaseAddress, SIZE_4KB) &&
|
||||
(MemorySpaceMap[Index].Length % SIZE_4KB == 0))
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue