From: Will Deacon Date: Tue, 6 Mar 2012 16:34:50 +0000 (+0100) Subject: ARM: 7356/1: perf: check that we have an event in the PMU IRQ handlers X-Git-Tag: v3.3-rc7~18^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f6f5a30c834135c9f2fa10400c59ebbdd9188567;p=pandora-kernel.git ARM: 7356/1: perf: check that we have an event in the PMU IRQ handlers The PMU IRQ handlers in perf assume that if a counter has overflowed then perf must be responsible. In the paranoid world of crazy hardware, this could be false, so check that we do have a valid event before attempting to dereference NULL in the interrupt path. Cc: Signed-off-by: Ming Lei Signed-off-by: Will Deacon Signed-off-by: Russell King --- Reading git-diff-tree failed