aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/cpu/perf_event.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/kernel/cpu/perf_event.c')
-rw-r--r--arch/x86/kernel/cpu/perf_event.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/cpu/perf_event.c b/arch/x86/kernel/cpu/perf_event.c
index b5801c311846..35be5802ac1e 100644
--- a/arch/x86/kernel/cpu/perf_event.c
+++ b/arch/x86/kernel/cpu/perf_event.c
@@ -1229,7 +1229,7 @@ x86_perf_event_set_period(struct perf_event *event,
1229 return 0; 1229 return 0;
1230 1230
1231 /* 1231 /*
1232 * If we are way outside a reasoable range then just skip forward: 1232 * If we are way outside a reasonable range then just skip forward:
1233 */ 1233 */
1234 if (unlikely(left <= -period)) { 1234 if (unlikely(left <= -period)) {
1235 left = period; 1235 left = period;