aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kernel/perf_event.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/perf_event.c b/kernel/perf_event.c
index 0b9ca2d834dd..040ee517c808 100644
--- a/kernel/perf_event.c
+++ b/kernel/perf_event.c
@@ -4010,6 +4010,7 @@ static enum hrtimer_restart perf_swevent_hrtimer(struct hrtimer *hrtimer)
4010 event->pmu->read(event); 4010 event->pmu->read(event);
4011 4011
4012 data.addr = 0; 4012 data.addr = 0;
4013 data.period = event->hw.last_period;
4013 regs = get_irq_regs(); 4014 regs = get_irq_regs();
4014 /* 4015 /*
4015 * In case we exclude kernel IPs or are somehow not in interrupt 4016 * In case we exclude kernel IPs or are somehow not in interrupt