diff options
author | Christophe Leroy <christophe.leroy@c-s.fr> | 2018-10-09 13:51:54 +0000 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2018-10-14 18:04:09 +1100 |
commit | 34eb138ed74dc95285478903148a53bd034829be (patch) | |
tree | fe172f00080ffb2e4e9c4da8f9c9ec4c5dbaad9b /arch/powerpc/mm/pgtable.c | |
parent | daba790242dfbdf6ef1bcabf3d6ed4c88cccf59a (diff) |
powerpc/mm: don't use _PAGE_EXEC for calling hash_preload()
The 'access' parameter of hash_preload() is either 0 or _PAGE_EXEC.
Among the two versions of hash_preload(), only the PPC64 one is
doing something with this 'access' parameter.
In order to remove the use of _PAGE_EXEC outside platform code,
'access' parameter is replaced by 'is_exec' which will be either
true of false, and the PPC64 version of hash_preload() creates
the access flag based on 'is_exec'.
Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/mm/pgtable.c')
0 files changed, 0 insertions, 0 deletions