]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
atl1: use spin_trylock_irqsave()
authorIngo Molnar <mingo@elte.hu>
Wed, 1 Aug 2007 00:07:02 +0000 (19:07 -0500)
committerJeff Garzik <jeff@garzik.org>
Tue, 7 Aug 2007 21:18:32 +0000 (17:18 -0400)
commit5845b677cf7f64a0f104609e1dfe02a439f69f71
treec6fba91336e8ed72016e1044771f328511886914
parent092ed997c0c324a2e5e839da9f49453bb5227703
atl1: use spin_trylock_irqsave()

use the simpler spin_trylock_irqsave() API to get the adapter lock.

[ this is also a fix for -rt where adapter->lock is a sleeping lock. ]

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Jay Cliburn <jacliburn@bellsouth.net>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/atl1/atl1_main.c