mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
xen/arm: domain_build: Replace use of paddr_t in find_domU_holes()
bankbase, banksize and bankend are used to hold values of type 'unsigned long long'. This can be represented as 'uint64_t' instead of 'paddr_t'. This will ensure consistency with allocate_static_memory() (where we use 'uint64_t' for rambase and ramsize). In future, paddr_t can be used for 'uin32_t' as well to represent 32bit physical addresses. Signed-off-by: Ayan Kumar Halder <ayan.kumar.halder@amd.com> Acked-by: Stefano Stabellini <sstabellini@kernel.org>
This commit is contained in:
1 parent
13bfdceda0
commit
89cc5d96a9
1 file changed
+3
-3
@@ -1726,9 +1726,9 @@ static int __init find_domU_holes(const struct kernel_info *kinfo,
|
||||
struct meminfo *ext_regions)
|
||||
{
|
||||
unsigned int i;
|
||||
paddr_t bankend;
|
||||
const paddr_t bankbase[] = GUEST_RAM_BANK_BASES;
|
||||
const paddr_t banksize[] = GUEST_RAM_BANK_SIZES;
|
||||
uint64_t bankend;
|
||||
const uint64_t bankbase[] = GUEST_RAM_BANK_BASES;
|
||||
const uint64_t banksize[] = GUEST_RAM_BANK_SIZES;
|
||||
int res = -ENOENT;
|
||||
|
||||
for ( i = 0; i < GUEST_RAM_BANKS; i++ )
|
||||
|
||||