diff options
author | Christian Lamparter <[email protected]> | 2018-12-22 15:35:38 +0100 |
---|---|---|
committer | Michael Ellerman <[email protected]> | 2018-12-30 14:00:47 +1100 |
commit | d0757237d7b18b1ce74293be7c077d86f7a732e8 (patch) | |
tree | 0d420bfc10cbcf09e20bb3601cc6f10bdeb31e8f /security/selinux/hooks.c | |
parent | 039daac5526932ec731e4499613018d263af8b3e (diff) |
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: [email protected] # v4.20
Signed-off-by: Christian Lamparter <[email protected]>
Reviewed-by: Christophe Leroy <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions