aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/events/hw_breakpoint.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2012-03-05 03:20:08 -0500
committerIngo Molnar <mingo@elte.hu>2012-03-05 03:20:08 -0500
commit737f24bda723fdf89ecaacb99fa2bf5683c32799 (patch)
tree35495fff3e9956679cb5468e74e6814c8e44ee66 /kernel/events/hw_breakpoint.c
parent8eedce996556d7d06522cd3a0e6069141c8dffe0 (diff)
parentb7c924274c456499264d1cfa3d44063bb11eb5db (diff)
Merge branch 'perf/urgent' into perf/core
Conflicts: tools/perf/builtin-record.c tools/perf/builtin-top.c tools/perf/perf.h tools/perf/util/top.h Merge reason: resolve these cherry-picking conflicts. Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/events/hw_breakpoint.c')
-rw-r--r--kernel/events/hw_breakpoint.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/events/hw_breakpoint.c b/kernel/events/hw_breakpoint.c
index b0309f76d777..3330022a7ac1 100644
--- a/kernel/events/hw_breakpoint.c
+++ b/kernel/events/hw_breakpoint.c
@@ -658,10 +658,10 @@ int __init init_hw_breakpoint(void)
658 658
659 err_alloc: 659 err_alloc:
660 for_each_possible_cpu(err_cpu) { 660 for_each_possible_cpu(err_cpu) {
661 if (err_cpu == cpu)
662 break;
663 for (i = 0; i < TYPE_MAX; i++) 661 for (i = 0; i < TYPE_MAX; i++)
664 kfree(per_cpu(nr_task_bp_pinned[i], cpu)); 662 kfree(per_cpu(nr_task_bp_pinned[i], cpu));
663 if (err_cpu == cpu)
664 break;
665 } 665 }
666 666
667 return -ENOMEM; 667 return -ENOMEM;