commit | 7bee31ad8e2f6c276f36993346ac70f4d4c80e45 | [log] [tgz] |
---|---|---|
author | Christophe Leroy <christophe.leroy@csgroup.eu> | Wed Aug 05 15:27:28 2020 +0000 |
committer | Michael Ellerman <mpe@ellerman.id.au> | Tue Aug 18 13:40:15 2020 +1000 |
tree | fc49fadc33ddb769f483e246c4b6f6e80b46e7a0 | |
parent | 48d2f0407be7a36e8f20be37ec9121e021ef3964 [diff] |
powerpc/32s: Fix is_module_segment() when MODULES_VADDR is defined When MODULES_VADDR is defined, is_module_segment() shall check the address against it instead of checking agains VMALLOC_START. Fixes: 6ca055322da8 ("powerpc/32s: Use dedicated segment for modules with STRICT_KERNEL_RWX") Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/07884ed033c31e074747b7eb8eaa329d15db07ec.1596641219.git.christophe.leroy@csgroup.eu