commit | e0a5a6c38190a5016bcb0f1267324a19b846a35a | [log] [tgz] |
---|---|---|
author | Mingkai Hu <Mingkai.hu@freescale.com> | Mon Apr 16 10:05:06 2012 +0800 |
committer | Kumar Gala <galak@kernel.crashing.org> | Thu Apr 19 14:55:56 2012 -0500 |
tree | 7b8c6f20b23303f6d6cca4d32010fab70bc73b7b | |
parent | bdce27c7f7bc7cf5c3a264bab9de056bd9cb0c9d [diff] |
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 <Mingkai.hu@freescale.com> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>