sh: intc register modify fix
authorMagnus Damm <magnus.damm@gmail.com>
Thu, 24 Apr 2008 12:53:07 +0000 (21:53 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Thu, 8 May 2008 10:52:07 +0000 (19:52 +0900)
commit4370fe1c06ffa251b63b12a41e2599037a4b7f87
tree9b08db220fafe5c7fa9160fc17a924a5fe1e59dc
parent720be99006c5830970d5b62633c92b29e4cef137
sh: intc register modify fix

Make sure register modifications stay atomic. Fixes processors with
shared priority register masking. Dual bitmap masking is unaffected.

Signed-off-by: Magnus Damm <damm@igel.co.jp>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/kernel/cpu/irq/intc.c