On 01.12.2022 11:26, Julien Grall wrote:
> On 01/12/2022 10:03, Ayan Kumar Halder wrote:
>> --- a/xen/common/page_alloc.c
>> +++ b/xen/common/page_alloc.c
>> @@ -2245,7 +2245,7 @@ void __init xenheap_max_mfn(unsigned long mfn)
>> {
>> ASSERT(!first_node_initialised);
>> ASSERT(!xenheap_bits);
>> - BUILD_BUG_ON(PADDR_BITS >= BITS_PER_LONG);
>> + BUILD_BUG_ON(PADDR_BITS > BITS_PER_LONG);
>
> Based on the above, I think this wants to be "(PADDR_BITS - PAGE_SHIFT)
> >= BITS_PER_LONG)".+1, fwiw. Jan
