diff options
author | Christian Lamparter <chunkeey@gmail.com> | 2018-12-22 15:35:38 +0100 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2018-12-30 14:00:47 +1100 |
commit | d0757237d7b18b1ce74293be7c077d86f7a732e8 (patch) | |
tree | 0d420bfc10cbcf09e20bb3601cc6f10bdeb31e8f /lib/plist.c | |
parent | 039daac5526932ec731e4499613018d263af8b3e (diff) | |
download | linux-d0757237d7b18b1ce74293be7c077d86f7a732e8.tar.gz linux-d0757237d7b18b1ce74293be7c077d86f7a732e8.tar.bz2 linux-d0757237d7b18b1ce74293be7c077d86f7a732e8.zip |
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: 56f3c1413f5c ("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>
Diffstat (limited to 'lib/plist.c')
0 files changed, 0 insertions, 0 deletions