aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm64/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm64/kernel')
-rw-r--r--arch/arm64/kernel/hw_breakpoint.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm64/kernel/hw_breakpoint.c b/arch/arm64/kernel/hw_breakpoint.c
index 98bbe06e469c..e7d934d3afe0 100644
--- a/arch/arm64/kernel/hw_breakpoint.c
+++ b/arch/arm64/kernel/hw_breakpoint.c
@@ -527,7 +527,7 @@ int arch_validate_hwbkpt_settings(struct perf_event *bp)
527 * Disallow per-task kernel breakpoints since these would 527 * Disallow per-task kernel breakpoints since these would
528 * complicate the stepping code. 528 * complicate the stepping code.
529 */ 529 */
530 if (info->ctrl.privilege == AARCH64_BREAKPOINT_EL1 && bp->hw.bp_target) 530 if (info->ctrl.privilege == AARCH64_BREAKPOINT_EL1 && bp->hw.target)
531 return -EINVAL; 531 return -EINVAL;
532 532
533 return 0; 533 return 0;