[PATCH] powerpc/kvm: Fix build error when PPC_MEM_KEYS/PPC_PSERIES=n

Michael Ellerman patch-notifications at ellerman.id.au
Fri Apr 30 00:01:26 AEST 2021


On Sun, 25 Apr 2021 21:58:31 +1000, Michael Ellerman wrote:
> lkp reported a randconfig failure:
> 
>      In file included from arch/powerpc/include/asm/book3s/64/pkeys.h:6,
>                     from arch/powerpc/kvm/book3s_64_mmu_host.c:15:
>      arch/powerpc/include/asm/book3s/64/hash-pkey.h: In function 'hash__vmflag_to_pte_pkey_bits':
>   >> arch/powerpc/include/asm/book3s/64/hash-pkey.h:10:23: error: 'VM_PKEY_BIT0' undeclared
>         10 |  return (((vm_flags & VM_PKEY_BIT0) ? H_PTE_PKEY_BIT0 : 0x0UL) |
>          |                       ^~~~~~~~~~~~
> 
> [...]

Applied to powerpc/next.

[1/1] powerpc/kvm: Fix build error when PPC_MEM_KEYS/PPC_PSERIES=n
      https://git.kernel.org/powerpc/c/ee1bc694fbaec1a662770703fc34a74abf418938

cheers


More information about the Linuxppc-dev mailing list