diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/x86/kernel/cpu/perf_event.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/kernel/cpu/perf_event.c b/arch/x86/kernel/cpu/perf_event.c index 33c889ff21ae..66de282ad2fb 100644 --- a/arch/x86/kernel/cpu/perf_event.c +++ b/arch/x86/kernel/cpu/perf_event.c | |||
@@ -1884,6 +1884,7 @@ static void x86_pmu_disable(struct perf_event *event) | |||
1884 | cpuc->event_list[i-1] = cpuc->event_list[i]; | 1884 | cpuc->event_list[i-1] = cpuc->event_list[i]; |
1885 | 1885 | ||
1886 | --cpuc->n_events; | 1886 | --cpuc->n_events; |
1887 | break; | ||
1887 | } | 1888 | } |
1888 | } | 1889 | } |
1889 | perf_event_update_userpage(event); | 1890 | perf_event_update_userpage(event); |