Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 767e3ec9 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "perf: Fix event creation for task context" into msm-4.14

parents fcfbdafb bef07ab8
Loading
Loading
Loading
Loading
+5 −6
Original line number Diff line number Diff line
@@ -2474,14 +2474,13 @@ perf_install_in_context(struct perf_event_context *ctx,
	 */
	smp_store_release(&event->ctx, ctx);

	if (!task) {
#if defined CONFIG_HOTPLUG_CPU || defined CONFIG_KEXEC_CORE
		if (!cpu_online(cpu)) {
			perf_prepare_install_in_context(event);
			return;
		}
#endif

	if (!task) {
		cpu_function_call(cpu, __perf_install_in_context, event);
		return;
	}