]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit044fcdc0fdd8aaba104958c11e28349921ba0853
tree0908fb60dbbd573ab17c67d8caa3dc4325a3e786
parentcd4bab431f5a6ac6cc8d1f51ab699a42e947cedd
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