Re: [PATCH 1/1] x86/ioremap: Use is_vmalloc_addr in iounmap

Thomas Gleixner
2024-08-13T08:21:02Z

On Tue, Aug 13 2024 at 11:33, Alistair Popple wrote:
>> On Mon, Aug 12 2024 at 12:03, Thomas Gleixner wrote:
>>
>> +#ifndef PHYSMEM_END
>> +# define PHYSMEM_END (1UL << (MAX_PHYSMEM_BITS-PAGE_SHIFT))
>
> However I think this should be:
>
> # define PHYSMEM_END ((1UL << MAX_PHYSMEM_BITS) - 1)

Bah.