From: Mingkai Hu Date: Mon, 16 Apr 2012 02:05:06 +0000 (+0800) Subject: powerpc/mpic_msgr: add lock for MPIC message global variable X-Git-Tag: v3.4-rc5~43^2~5^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e0a5a6c38190a5016bcb0f1267324a19b846a35a;p=pandora-kernel.git powerpc/mpic_msgr: add lock for MPIC message global variable Also fix issue of accessing invalid msgr pointer issue. The local msgr pointer in fucntion mpic_msgr_get will be accessed before getting a valid address which will cause kernel crash. Signed-off-by: Mingkai Hu Signed-off-by: Kumar Gala --- Reading git-diff-tree failed