diff options
author | Christophe Leroy <[email protected]> | 2018-10-09 13:51:43 +0000 |
---|---|---|
committer | Michael Ellerman <[email protected]> | 2018-10-14 18:04:09 +1100 |
commit | 56f3c1413f5cce0c8f4d6f1ab79d790da5aa61af (patch) | |
tree | a1ec8ea4a338d63d56353383ae49caad7b5b23dc /arch/powerpc/lib/code-patching.c | |
parent | aa91796ec46339f2ed53da311bd3ea77a3e4dfe1 (diff) |
powerpc/mm: properly set PAGE_KERNEL flags in ioremap()
Set PAGE_KERNEL directly in the caller and do not rely on a
hack adding PAGE_KERNEL flags when _PAGE_PRESENT is not set.
As already done for PPC64, use pgprot_cache() helpers instead of
_PAGE_XXX flags in PPC32 ioremap() derived functions.
Signed-off-by: Christophe Leroy <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'arch/powerpc/lib/code-patching.c')
0 files changed, 0 insertions, 0 deletions