summaryrefslogtreecommitdiffstats
path: root/drivers/char/tb0219.c
diff options
context:
space:
mode:
authorStephane Doyon <s.doyon@videotron.ca>2005-09-06 15:17:31 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2005-09-07 16:57:31 -0700
commit2d237c63659c098a662b1b09d43460f04c498436 (patch)
tree08a16c34d381b4d3347e353b598ccdbcc5f46c2b /drivers/char/tb0219.c
parentf62c6d0a2607b2d1fdf280d4d1467a7a6e24c67d (diff)
downloadop-kernel-dev-2d237c63659c098a662b1b09d43460f04c498436.zip
op-kernel-dev-2d237c63659c098a662b1b09d43460f04c498436.tar.gz
[PATCH] Console blanking locking fix
I've had WARN_CONSOLE_UNLOCKED warnings when calling TIOCLINUX TIOCL_BLANKSCREEN and TIOCL_UNBLANKSCREEN. (I'm blind and I use a braille display. I use those functions to blank my laptop's screen so people don't read it, and hopefully to conserve power.) The warnings are from these places: do_blank_screen at drivers/char/vt.c:2754 (Not tainted) save_screen at drivers/char/vt.c:575 (Not tainted) do_unblank_screen at drivers/char/vt.c:2822 (Not tainted) set_palette at drivers/char/vt.c:2908 (Not tainted) At a glance I would think the following patch ought to fix that. Tested on one machine. Could you please tell me if this is correct and/or forward the patch where appropriate... Signed-off-by: Stephane Doyon <s.doyon@videotron.ca> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/char/tb0219.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud