MIPS: Octeon: Use write_{un,}lock_irq{restore,save} to set irq affinity
authorDavid Daney <ddaney@caviumnetworks.com>
Tue, 13 Oct 2009 15:52:28 +0000 (08:52 -0700)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 2 Nov 2009 11:00:07 +0000 (12:00 +0100)
commitb6b74d5490c3ad88de503e0c5d44e4820b79b678
treeffecd6d14608dc446cab28bc4d798bba92146de3
parent0db2b74e9150651a25ffd2e2285575ce193f763c
MIPS: Octeon: Use write_{un,}lock_irq{restore,save} to set irq affinity

Since the locks are used from interrupt context we need the
irqsave/irqrestore versions of the locking functions.

Signed-off-by: David Daney <ddaney@caviumnetworks.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/cavium-octeon/octeon-irq.c