commit | b5586163de1ce90317cd4037f69b14105be9f656 | [log] [tgz] |
---|---|---|
author | Masami Hiramatsu <mhiramat@kernel.org> | Wed Feb 13 00:43:51 2019 +0900 |
committer | Catalin Marinas <catalin.marinas@arm.com> | Tue Mar 19 12:43:09 2019 +0000 |
tree | 6da613aaa8218efaafd775fb358c99b77cc271cf | |
parent | a872fc8bf0304fd56347e94468f07d7e82c679ea [diff] |
arm64: kprobes: Remove unneeded RODATA check Remove unneeded RODATA check from arch_prepare_kprobe(). Since check_kprobe_address_safe() already ensured that the probe address is in kernel text, we don't need to check whether the address in RODATA or not. That must be always false. Acked-by: Will Deacon <will.deacon@arm.com> Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org> Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>