From: Peter Zijlstra Date: Mon, 5 May 2014 17:12:20 +0000 (+0200) Subject: perf: Fix perf_event_init_context() X-Git-Tag: omap-for-v3.16/fixes-against-rc1~148^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ffb4ef21ac4308c2e738e6f83b6741bbc9b4fa3b;p=pandora-kernel.git perf: Fix perf_event_init_context() perf_pin_task_context() can return NULL but perf_event_init_context() assumes it will not, correct this. Reported-by: Vince Weaver Signed-off-by: Peter Zijlstra Cc: Arnaldo Carvalho de Melo Link: http://lkml.kernel.org/r/20140505171428.GU26782@laptop.programming.kicks-ass.net Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed