]> git.baikalelectronics.ru Git - kernel.git/commit
Blackfin arch: fix bug - kernel boot fails when Spinlock and rw-lock debugging enabled
authorSonic Zhang <sonic.zhang@analog.com>
Wed, 25 Jun 2008 04:02:07 +0000 (12:02 +0800)
committerBryan Wu <cooloney@kernel.org>
Wed, 25 Jun 2008 04:02:07 +0000 (12:02 +0800)
commit233009bef626ea1516e01b1bef39cae4d453a53b
tree097ce8578a566cdda9207dde1da1c3f70705728b
parent34246e4c502ac282633f3eafc395e419462ff184
Blackfin arch: fix bug - kernel boot fails when Spinlock and rw-lock debugging enabled

Initialize the lock of bad_irq_desc properly.
The content of irq_desc array is replaced by bad_irq_desc in blackfin
arch irqchip init code. So, do it properly as common irq init code.

Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
arch/blackfin/kernel/irqchip.c