Why timer interrupt is disabled?

David Woodhouse dwmw2 at infradead.org
Fri May 25 09:12:51 EDT 2001


andreev at niisi.msk.ru said:
>  In do_ftl_request i found commented out sti() function. Why it were
> commented out? I had a look to the current sourse in your CVS, and i
> found that sti() is still commented out. Where we have to enable
> interrupts? If driver works under the closed interrupts, why does it
> use the time_after and jiffies? Can anybody tell me abouut it?

You probably need to unlock the io_request_lock. But you probably shouldn't 
be using FTL anyway - why not just put JFFS or JFFS2 on the flash directly?

--
dwmw2






More information about the linux-mtd mailing list