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.2.10~28 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=288733a6065034d1870b02b164da0fb2d8452178;p=pandora-kernel.git ARM: 7356/1: perf: check that we have an event in the PMU IRQ handlers commit f6f5a30c834135c9f2fa10400c59ebbdd9188567 upstream. 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. Signed-off-by: Ming Lei Signed-off-by: Will Deacon Signed-off-by: Russell King Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed