Blackfin: simplify SMP handling in SRAM code
authorYi Li <yi.li@analog.com>
Wed, 30 Dec 2009 04:04:07 +0000 (04:04 +0000)
committerMike Frysinger <vapier@gentoo.org>
Tue, 9 Mar 2010 05:30:48 +0000 (00:30 -0500)
commit54536c5c6a807d0db7252c3b33638b88f34650ff
treeb176e6c63c78a3c46086a0510ce461f6f4440ad3
parent0b39db28b953945232719e7ff6fb802aa8a2be5f
Blackfin: simplify SMP handling in SRAM code

There is no need to use {get,put}_cpu() when we already have a spinlock to
protect against multiple processors running simultaneously.

Signed-off-by: Yi Li <yi.li@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
arch/blackfin/mm/sram-alloc.c