linux/arch/powerpc/platforms/4xx
Christian Lamparter d0757237d7 powerpc/4xx/ocm: Fix compilation error due to PAGE_KERNEL usage
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: 56f3c1413f ("powerpc/mm: properly set PAGE_KERNEL flags in ioremap()")
Cc: stable@vger.kernel.org # v4.20
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
Reviewed-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
2018-12-30 14:00:47 +11:00
..
cpm.c powerpc/4xx: Constify cpm_suspend_ops 2017-08-31 19:56:33 +10:00
gpio.c powerpc: Convert to using %pOF instead of full_name 2017-08-23 22:27:04 +10:00
hsta_msi.c treewide: kmalloc() -> kmalloc_array() 2018-06-12 16:19:22 -07:00
machine_check.c powerpc/4xx: Move machine_check_4xx() into platforms/4xx 2017-08-10 23:31:30 +10:00
Makefile powerpc/4xx: Move machine_check_4xx() into platforms/4xx 2017-08-10 23:31:30 +10:00
msi.c powerpc/4xx: Fix error return path in ppc4xx_msi_probe() 2018-08-03 20:08:20 +10:00
ocm.c powerpc/4xx/ocm: Fix compilation error due to PAGE_KERNEL usage 2018-12-30 14:00:47 +11:00
pci.c powerpc/4xx: Delete an unnecessary return statement in two functions 2018-12-21 11:32:49 +11:00
pci.h
soc.c powerpc: 4xx: get cpu node with of_get_cpu_node 2018-09-28 14:25:58 -05:00
uic.c powerpc: Convert to using %pOF instead of full_name 2017-08-23 22:27:04 +10:00