Skip to contentSkip to conversation

rudimentary ISR question

DISCUSSION Steve Modica 1 participant 1 message Apr 12, 2004

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Hi All,

I'm looking at the tg3.c driver in the 2.4.21 kernel and in the _interrupt routing, the driver is calling spin_lock_irqsave.

Since it's guaranteed that the tg3 interrupt handler will be disabled for the duration of the interrupt handler, why can't the driver simply call spin_lock?

Steve