change >> to RShiftU64 function call to avoid compiler to insert __aullshr intrinsic.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5332 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
qwang12 2008-06-05 06:31:24 +00:00
parent 137c54acda
commit 008a518953
1 changed files with 1 additions and 1 deletions

View File

@ -375,7 +375,7 @@ FvGetVolumeAttributes (
Attributes Attributes
); );
if (!EFI_ERROR (Status)) { if (!EFI_ERROR (Status)) {
*Attributes = (*Attributes & 0x1ff) | ((UINTN)EFI_FV_ALIGNMENT_2 << ((*Attributes & EFI_FV2_ALIGNMENT) >> 16)); *Attributes = (*Attributes & 0x1ff) | ((UINTN)EFI_FV_ALIGNMENT_2 << RShiftU64((*Attributes & EFI_FV2_ALIGNMENT), 16));
} }
return Status; return Status;
} }