MIPS: BCM63xx: Protect irq register accesses
authorJonas Gorski <jogo@openwrt.org>
Sat, 12 Jul 2014 10:49:39 +0000 (12:49 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 30 Jul 2014 13:29:23 +0000 (15:29 +0200)
commit74b8ca3f3160b062207be6ee88785409c0a777ea
tree0908fb60dbbd573ab17c67d8caa3dc4325a3e786
parent7a9fd14d4c4796d3b0d4aec9c91183560d201b4d
MIPS: BCM63xx: Protect irq register accesses

Since we will have the chance of accessing the registers concurrently,
protect any accesses through a spinlock.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
Cc: linux-mips@linux-mips.org
Cc: John Crispin <blogic@openwrt.org>
Cc: Maxime Bizon <mbizon@freebox.fr>
Cc: Florian Fainelli <florian@openwrt.org>
Cc: Kevin Cernekee <cernekee@gmail.com>
Cc: Gregory Fong <gregory.0xf0@gmail.com>
Patchwork: https://patchwork.linux-mips.org/patch/7321/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/bcm63xx/irq.c