Skip to contentSkip to conversation

s390: 3270 console.

PATCH New Martin Schwidefsky 1 participant 1 message Jan 14, 2005 s390

lore
Share & tools
lore
#0 lore raw

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.

diffstat:

 drivers/s390/char/tty3270.c |    1 +
 1 files changed, 1 insertion(+)
drivers/s390/char/tty3270.c +1 -0
diff -urN linux-2.6/drivers/s390/char/tty3270.c linux-2.6-patched/drivers/s390/char/tty3270.c
@@ -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);