]> git.baikalelectronics.ru Git - kernel.git/commit
vt: lock the accent table
authorAlan Cox <alan@linux.intel.com>
Fri, 24 Feb 2012 12:47:11 +0000 (12:47 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 24 Feb 2012 21:59:34 +0000 (13:59 -0800)
commitb17b61531539072973aba5ca5efb8422aa4147f6
treee4d097c10c6211ff05f9d8ec6669c584de9e08ae
parenta4ee0a961bb5ac999dea0de0f51c3c50bccbebfd
vt: lock the accent table

First step to debletcherising the vt console layer - pick a victim and fix
the locking

This is a nice simple object with its own rules so lets pick it out for
treatment. The user of the table already has a lock so we will also use the
same lock for updates.

Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/vt/keyboard.c
drivers/tty/vt/vt_ioctl.c
include/linux/vt_kern.h