2005-01-14 18:58:14

by Martin Schwidefsky

[permalink] [raw]
Subject: [patch 4/8] s390: 3270 console.

[patch 4/8] s390: 3270 console.

From: Martin Schwidefsky <[email protected]>

3270 console changes:
- Initialize timer element before first use.

Signed-off-by: Martin Schwidefsky <[email protected]>

diffstat:
drivers/s390/char/tty3270.c | 1 +
1 files changed, 1 insertion(+)

diff -urN linux-2.6/drivers/s390/char/tty3270.c linux-2.6-patched/drivers/s390/char/tty3270.c
--- linux-2.6/drivers/s390/char/tty3270.c 2005-01-14 19:44:49.000000000 +0100
+++ linux-2.6-patched/drivers/s390/char/tty3270.c 2005-01-14 19:45:18.000000000 +0100
@@ -706,6 +706,7 @@
if (!tp->freemem_pages)
goto out_tp;
INIT_LIST_HEAD(&tp->freemem);
+ init_timer(&tp->timer);
for (pages = 0; pages < TTY3270_STRING_PAGES; pages++) {
tp->freemem_pages[pages] = (void *)
__get_free_pages(GFP_KERNEL|GFP_DMA, 0);