diff options
author | Richard Purdie <rpurdie@openedhand.com> | 2007-07-10 19:33:54 (GMT) |
---|---|---|
committer | David Woodhouse <dwmw2@infradead.org> | 2007-07-11 13:57:17 (GMT) |
commit | 8691a729a2a3d739ee40a577053157393450aabd (patch) | |
tree | db9c69d95dc2ff04e0752ba2df8ecb3bfd217d21 /fs/Kconfig | |
parent | a2e96b627b58efe2d618a415f34b9b9d9f829bd6 (diff) | |
download | linux-fsl-qoriq-8691a729a2a3d739ee40a577053157393450aabd.tar.xz |
[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 <rpurdie@openedhand.com>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Diffstat (limited to 'fs/Kconfig')
0 files changed, 0 insertions, 0 deletions