Re: [zd1211-devs] Another kernel oops fix (timer related)
Status: Beta
Brought to you by:
mayne
From: Mike P. <mp...@re...> - 2005-03-24 14:26:30
|
[ restoring CC to zd1211-devs ] On Thu, Mar 24, 2005 at 03:08:19PM +0100, Svetoslav Slavtchev wrote: > Mike wrote: > > + unsigned long flags; > > + > > + save_flags(flags); > > + cli(); > > aren't those pretty broken in 2.6 > IIRC cli() was removed at least 6 months ago Oh, oops :). I didn't know that, as we're still developing on 2.4. Thanks for pointing it out. If you or someone else that knows about the 2.6 changes wouldn't mind writing some #ifdefs or finding some other appropriate solution, that would be best for me, otherwise I can try and come up with it myself though as I have no convenient way of testing it I don't promise it will work. Mike |