blackfin: smp: fix msg queue overflow issue
authorSteven Miao <realmz6@gmail.com>
Fri, 25 Nov 2011 06:25:30 +0000 (14:25 +0800)
committerBob Liu <lliubbo@gmail.com>
Mon, 9 Jan 2012 02:26:15 +0000 (10:26 +0800)
commita2eff9dd8bca6d03bc3c87790bac3fdb4fe6dbf0
tree2218c5d6b9d1258f1f8c8c691ae210abe41c44e2
parent7d157fb02bc3f4dc74e6830725864ba501d92da7
blackfin: smp: fix msg queue overflow issue

disable preemption when icache flush and use wait mode cross call, hold the msg
queue lock while handle cross function call to avoid overflow

Signed-off-by: Steven Miao <realmz6@gmail.com>
Signed-off-by: Bob Liu <lliubbo@gmail.com>
arch/blackfin/mach-common/smp.c