powerpc/mpic_msgr: add lock for MPIC message global variable
authorMingkai Hu <Mingkai.hu@freescale.com>
Mon, 16 Apr 2012 02:05:06 +0000 (10:05 +0800)
committerKumar Gala <galak@kernel.crashing.org>
Thu, 19 Apr 2012 19:55:56 +0000 (14:55 -0500)
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 <Mingkai.hu@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>

No differences found