diff options
author | Alan Cox <alan@linux.intel.com> | 2012-03-02 15:00:02 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-03-08 11:11:39 -0800 |
commit | 5289475d1375017ab4288b276383e9684280876d (patch) | |
tree | 9efb9bfccfb9b008bc1c9f2e5c89af8b26d57fc8 /drivers/tty/vt/vt.c | |
parent | 99cceb4e50cb67720e779f6611476bcb611af6b8 (diff) | |
download | op-kernel-dev-5289475d1375017ab4288b276383e9684280876d.zip op-kernel-dev-5289475d1375017ab4288b276383e9684280876d.tar.gz |
vt: tackle the main part of the selection logic
We leave the existing paste mess alone and just fix up the vt side of
things.
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/vt/vt.c')
-rw-r--r-- | drivers/tty/vt/vt.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/tty/vt/vt.c b/drivers/tty/vt/vt.c index ab7385e..e5abcea 100644 --- a/drivers/tty/vt/vt.c +++ b/drivers/tty/vt/vt.c @@ -2623,7 +2623,9 @@ int tioclinux(struct tty_struct *tty, unsigned long arg) console_unlock(); break; case TIOCL_SELLOADLUT: + console_lock(); ret = sel_loadlut(p); + console_unlock(); break; case TIOCL_GETSHIFTSTATE: |