Re: [PATCH 23/30] um/mm: Enable ARCH_HAS_VM_GET_PAGE_PROT

From: Anshuman Khandual
Date: Mon Feb 14 2022 - 05:42:41 EST




On 2/14/22 12:10 PM, kernel test robot wrote:
> All errors (new ones prefixed by >>):
>
> arch/x86/um/mem_32.c: In function 'gate_vma_init':
>>> arch/x86/um/mem_32.c:20:26: error: '__P101' undeclared (first use in this function)
> 20 | gate_vma.vm_page_prot = __P101;
> | ^~~~~~
> arch/x86/um/mem_32.c:20:26: note: each undeclared identifier is reported only once for each function it appears in

Also the following instance still has reference to __PXXX symbols.

arch/arm/lib/uaccess_with_memcpy.c: user_ptr = vmap(&dst_page, 1, VM_IOREMAP, __pgprot(__P010));

Will fix both.