perf/core: Collapse common IPI pattern
authorPeter Zijlstra <peterz@infradead.org>
Mon, 30 Nov 2015 15:26:35 +0000 (16:26 +0100)
committerIngo Molnar <mingo@kernel.org>
Sun, 6 Dec 2015 11:55:48 +0000 (12:55 +0100)
commit0017960f38a2470e70d9f1991228e2b55b2abe0c
tree15ed053bdb9d02e59f783046236d2fe9b498c192
parent42a0789bf503d53ce099a73543278bd0164d8954
perf/core: Collapse common IPI pattern

Various functions implement the same pattern to send IPIs to an
event's CPU. Collapse the easy ones in a common helper function to
reduce duplication.

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Vince Weaver <vincent.weaver@maine.edu>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/events/core.c