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)
commit247ff8e610cb63c015de19191db9666754c2ed79
treee4d097c10c6211ff05f9d8ec6669c584de9e08ae
parentce1000ddca01c81684da844be4676eac50a70c2a
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