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)
commit71a7d1556264c1ad84b1bcf5f7a9cbc980b1e1fd
tree097ce8578a566cdda9207dde1da1c3f70705728b
parent543cf4cb3fe6f6cae3651ba918b9c56200b257d0
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