[linux-dvb] [BUG] flexcop lockdep

Antti Seppälä ajhseppa at niksula.hut.fi
Wed Apr 4 22:29:53 CEST 2007


Borgi2008 wrote:
> Hello,
> 
> i've created a bugfixes. Hope it could helps you.
> 
> Hendrik Borghorst
> 
> 

Actually, looking at the code I cannot figure out why there has to be a
spinlock in the first place.

The lock is only taken in the interrupt handler which already runs in
atomic context so there is no use in making the handler protected by a
spinlock. Am I missing something here?

I think the spinlock is unnecessary and should be removed entirely.


--
Antti Seppälä



More information about the linux-dvb mailing list