[v2] powerpc/4xx/ocm: fix compilation error

Michael Ellerman patch-notifications at ellerman.id.au
Wed Jan 2 22:31:47 AEDT 2019


On Sat, 2018-12-22 at 14:35:38 UTC, Christian Lamparter wrote:
> This patch fixes a recent compilation regression in ocm:
> 
> | ocm.c: In function ‘ocm_init_node’:
> | ocm.c:182:18: error: invalid operands to binary |
> |       (have ‘int’ and ‘pgprot_t’ {aka ‘struct <anonymous>’})
> |       _PAGE_EXEC | PAGE_KERNEL_NCG);
> |                  ^
> |
> | ocm.c:197:17: error: invalid operands to binary |
> |       (have ‘int’ and ‘pgprot_t’ {aka ‘struct <anonymous>’})
> |        _PAGE_EXEC | PAGE_KERNEL);
> |                   ^
> 
> Fixes: 56f3c1413f5c ("powerpc/mm: properly set PAGE_KERNEL flags in ioremap()")
> Signed-off-by: Christian Lamparter <chunkeey at gmail.com>
> Reviewed-by: Christophe Leroy <christophe.leroy at c-s.fr>

Applied to powerpc fixes, thanks.

https://git.kernel.org/powerpc/c/d0757237d7b18b1ce74293be7c077d

cheers


More information about the Linuxppc-dev mailing list