Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]> Signed-off-by: Masami Hiramatsu <[email protected]> Signed-off-by: Catalin Marinas <[email protected]>
- Loading branch information