]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
Use __SPIN_LOCK_UNLOCKED to initialize bad_irq_desc.lock
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Sat, 31 Jan 2009 00:21:55 +0000 (01:21 +0100)
committerUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Sat, 31 Jan 2009 00:21:55 +0000 (01:21 +0100)
commit6fd7ad96d6c51ba15479cb74dcb189b666422394
tree5a0741ef4cced3bcc949d2a7985911f5c9e30650
parent08e445bd6a98fa09befe0cf6d67705324f913fc6
Use __SPIN_LOCK_UNLOCKED to initialize bad_irq_desc.lock

SPIN_LOCK_UNLOCKED is deprecated as lockdep cannot properly work with
locks initialized with it.

This fix is necessary to compile the linux-rt tree for ARM.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Cc: Steven Rostedt <srostedt@redhat.com>
arch/arm/kernel/irq.c