summaryrefslogtreecommitdiffstats
path: root/drivers/tty/serial/samsung.c
diff options
context:
space:
mode:
authorImre Deak <imre.deak@intel.com>2014-12-16 00:16:00 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-01-09 14:39:52 -0800
commit4c215fe8e288c87b34c3d5bc910c77af586859d2 (patch)
tree795531c21214db75568939c769a33d4336efe81a /drivers/tty/serial/samsung.c
parent2cf30f752c8f73713f58796eb218cafa242d66fe (diff)
downloadtalos-op-linux-4c215fe8e288c87b34c3d5bc910c77af586859d2.tar.gz
talos-op-linux-4c215fe8e288c87b34c3d5bc910c77af586859d2.zip
vt: fix locking around vt_bind/vt_unbind
Currently vt_bind and vt_unbind access at least the con_driver object and registered_con_driver array without holding the console lock. Fix this by locking around the whole function in each case. Signed-off-by: Imre Deak <imre.deak@intel.com> Reviewed-by: Peter Hurley <peter@hurleysoftware.com> Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial/samsung.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud