From: Stephen Boyd Date: Fri, 7 Feb 2014 21:01:20 +0000 (+0000) Subject: ARM: perf: assign pdev pointer earlier for CPU PMUs X-Git-Tag: v3.15-rc1~82^2^2~1^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3a3967ed9135f931f3848b0c946dcf3c10ca9f9a;p=pandora-kernel.git ARM: perf: assign pdev pointer earlier for CPU PMUs We want to inspect the of_node that the pdev is pointing to in the Krait CPU specific PMU initialization function. Assign it earlier so that we don't crash with a NULL pointer dereference. Signed-off-by: Stephen Boyd Signed-off-by: Will Deacon --- Reading git-diff-tree failed