diff options
author | Christophe Leroy <christophe.leroy@c-s.fr> | 2017-11-24 08:31:09 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-10-20 09:48:52 +0200 |
commit | e261faa2eccbf1c77eabfbacee3904108f41df66 (patch) | |
tree | 142665e5edc9c09ec9f48be38b6c2df4daf9d407 /fs/namespace.c | |
parent | f78ae314c6e39702e4112008c6987a377b4e7019 (diff) |
powerpc/lib/feature-fixups: use raw_patch_instruction()
commit 8183d99f4a22c2abbc543847a588df3666ef0c0c upstream.
feature fixups need to use patch_instruction() early in the boot,
even before the code is relocated to its final address, requiring
patch_instruction() to use PTRRELOC() in order to address data.
But feature fixups applies on code before it is set to read only,
even for modules. Therefore, feature fixups can use
raw_patch_instruction() instead.
Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Reported-by: David Gounaris <david.gounaris@infinera.com>
Tested-by: David Gounaris <david.gounaris@infinera.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/namespace.c')
0 files changed, 0 insertions, 0 deletions