Re: [PATCH] atl1: use spin_trylock_irqsave()

From: Jeff Garzik
Date: Tue Aug 07 2007 - 17:43:14 EST


Jay Cliburn wrote:
From: Ingo Molnar <mingo@xxxxxxx>

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@xxxxxxx>
Signed-off-by: Jay Cliburn <jacliburn@xxxxxxxxxxxxx>
---
drivers/net/atl1/atl1_main.c | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)

applied to #upstream-fixes


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/