Blackfin: SMP: disable preempt with smp_processor_id to send messages
authorSonic Zhang <sonic.zhang@analog.com>
Fri, 25 Jun 2010 05:55:16 +0000 (05:55 +0000)
committerMike Frysinger <vapier@gentoo.org>
Fri, 18 Mar 2011 08:01:02 +0000 (04:01 -0400)
commit567ebfc99d7546913408b560ad443a5315bf8a53
treedce02fc76d5ef5ad08d7b0cbeec1679d4f3f5ad6
parentab61d2ac5c9d7c9232b8455c8d889216ca9d4814
Blackfin: SMP: disable preempt with smp_processor_id to send messages

The smp_processor_id() API requires that preempt be disabled when calling
it, so make sure it is when we go to send messages to other processors.

Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
arch/blackfin/mach-common/smp.c