]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - arch/arm64/kernel/hw_breakpoint.c
Merge branch 'perf/x86' into perf/core, because it's ready
[karo-tx-linux.git] / arch / arm64 / kernel / hw_breakpoint.c
index 98bbe06e469c91faf72218b95a52d3d429b0502a..e7d934d3afe02817fc53bf437d19c36195025b79 100644 (file)
@@ -527,7 +527,7 @@ int arch_validate_hwbkpt_settings(struct perf_event *bp)
         * Disallow per-task kernel breakpoints since these would
         * complicate the stepping code.
         */
-       if (info->ctrl.privilege == AARCH64_BREAKPOINT_EL1 && bp->hw.bp_target)
+       if (info->ctrl.privilege == AARCH64_BREAKPOINT_EL1 && bp->hw.target)
                return -EINVAL;
 
        return 0;