mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* MTD_WRITE called by a kernel timer OK in 2.4.20?
@ 2007-08-20 12:17 Andrew Bird
  0 siblings, 0 replies; only message in thread
From: Andrew Bird @ 2007-08-20 12:17 UTC (permalink / raw)
  To: linux-kernel

Hi,
	I'm trying to periodically write to flash on a small embedded device I'm 
playing with. I want to sync a buffer to flash every 15 seconds if it's 
dirty. I'm using a 2.4.20 kernel(not my choice) and have connected my 
buffer_write routine to a kernel timer both directly and also via a tasklet 
initiated by a kernel timer. Both methods give me an oops when attempting to 
write the flash. Is there anything basically wrong with this method? Will 
MTD_WRITE not function in interrupt context? It works just fine when called 
from an ioctl.


Hope you can help


Andrew

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-08-20 13:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-08-20 12:17 MTD_WRITE called by a kernel timer OK in 2.4.20? Andrew Bird

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®