mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
Merge branch 'perf/urgent' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/urgent
This commit is contained in:
commit
710054ba25
883 changed files with 23829 additions and 15751 deletions
|
|
@ -5028,6 +5028,14 @@ static int __perf_event_overflow(struct perf_event *event, int nmi,
|
|||
else
|
||||
perf_event_output(event, nmi, data, regs);
|
||||
|
||||
if (event->fasync && event->pending_kill) {
|
||||
if (nmi) {
|
||||
event->pending_wakeup = 1;
|
||||
irq_work_queue(&event->pending);
|
||||
} else
|
||||
perf_event_wakeup(event);
|
||||
}
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue