From d8d9b8f76f22b7a16a83e261e64f89ee611f49df Mon Sep 17 00:00:00 2001 From: Ralf Baechle Date: Sun, 1 Jun 1997 03:16:17 +0000 Subject: Initial revision --- drivers/char/vt.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'drivers/char/vt.c') diff --git a/drivers/char/vt.c b/drivers/char/vt.c index 0f4957971..b3e25c010 100644 --- a/drivers/char/vt.c +++ b/drivers/char/vt.c @@ -123,6 +123,7 @@ kd_size_changed(int row, int col) } } + read_lock(&tasklist_lock); for_each_task(p) { if ( p->tty && MAJOR(p->tty->device) == TTY_MAJOR && @@ -131,6 +132,7 @@ kd_size_changed(int row, int col) send_sig(SIGWINCH, p, 1); } } + read_unlock(&tasklist_lock); return 0; } -- cgit v1.2.3