From: Richard Purdie Date: Tue, 10 Jul 2007 19:33:54 +0000 (+0100) Subject: [MTD] Add sync/unblank function to mtdoops X-Git-Tag: v2.6.24-rc1~1364^2~58 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8691a729a2a3d739ee40a577053157393450aabd;p=pandora-kernel.git [MTD] Add sync/unblank function to mtdoops mtdoops wasn't ensuring data was flushed to flash in crash situations after recent changes in mainline kernels as tracking the oops_in_progress variable was no longer enough. We can use the "unblank" console call as a sync call to tell us to write out the buffer though. Therefore add a sync function to mtdoops and call this when console unblank events occur. Signed-off-by: Richard Purdie Signed-off-by: David Woodhouse --- Reading git-diff-tree failed