[MTD] mtdoops: Perform write operations in a workqueue
authorRichard Purdie <rpurdie@rpsys.net>
Tue, 29 Jan 2008 11:27:11 +0000 (11:27 +0000)
committerDavid Woodhouse <dwmw2@infradead.org>
Sun, 3 Feb 2008 07:14:41 +0000 (18:14 +1100)
commit6ce0a856c10c8ab8568764436864616efa88e908
tree39c6b56a261c7585357386f42b32d773490bcf84
parent2986bd2a330e57af53c016276d63d46ded10e9c5
[MTD] mtdoops: Perform write operations in a workqueue

Writing to the flash needs to be done in a workqueue. The console
write functions may be called in any context which can lead to
lockups otherwise.

Signed-off-by: Richard Purdie <rpurdie@rpsys.net>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
drivers/mtd/mtdoops.c