mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-01-04 15:14:27 +00:00
HV: treewide: convert suffix ULL to UL
It is already assumed that ''long'' has 8-bytes, and thus there is no need to use ULL to indicate a 8-byte unsigned constant. This patch changes all ULL suffixes found in the hypervisor to UL. Signed-off-by: Junjie Mao <junjie.mao@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
@@ -96,7 +96,7 @@ int udiv64(uint64_t dividend, uint64_t divisor, struct udiv_result *res)
|
||||
/* align divisor and dividend. */
|
||||
bits = clz64(divisor) - clz64(dividend);
|
||||
divisor <<= bits;
|
||||
mask = 1ULL << bits;
|
||||
mask = 1UL << bits;
|
||||
/* division loop */
|
||||
do {
|
||||
if (dividend >= divisor) {
|
||||
|
||||
Reference in New Issue
Block a user