linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* 2.4.19-pre3 s390 patch for hwc_con.c
@ 2002-03-15 18:29 Pete Zaitcev
  0 siblings, 0 replies; 3+ messages in thread
From: Pete Zaitcev @ 2002-03-15 18:29 UTC (permalink / raw)
  To: schwidefsky; +Cc: Pete Zaitcev, linux-kernel

This patch makes hwc_con more resilient to structure layout changes.
It's not _strictly_ necessary, but I would like it to be in.

-- Pete

diff -ur -X dontdiff linux-2.4.19-pre3/drivers/s390/char/hwc_con.c linux-2.4.19-pre3-390/drivers/s390/char/hwc_con.c
--- linux-2.4.19-pre3/drivers/s390/char/hwc_con.c	Wed Jul 25 14:12:02 2001
+++ linux-2.4.19-pre3-390/drivers/s390/char/hwc_con.c	Fri Mar 15 08:39:17 2002
@@ -31,20 +31,12 @@
 
 #define  HWC_CON_PRINT_HEADER "hwc console driver: "
 
-struct console hwc_console =
-{
-
-	hwc_console_name,
-	hwc_console_write,
-	NULL,
-	hwc_console_device,
-	NULL,
-	hwc_console_unblank,
-	NULL,
-	CON_PRINTBUFFER,
-	0,
-	0,
-	NULL
+struct console hwc_console = {
+	name:	hwc_console_name,
+	write:	hwc_console_write,
+	device:	hwc_console_device,
+	unblank:hwc_console_unblank,
+	flags:	CON_PRINTBUFFER,
 };
 
 void 

^ permalink raw reply	[flat|nested] 3+ messages in thread
* Re: 2.4.19-pre3 s390 patch for hwc_con.c
@ 2002-03-18 14:03 Martin Schwidefsky
  2002-03-18 23:31 ` Pete Zaitcev
  0 siblings, 1 reply; 3+ messages in thread
From: Martin Schwidefsky @ 2002-03-18 14:03 UTC (permalink / raw)
  To: Pete Zaitcev; +Cc: linux-kernel


>This patch makes hwc_con more resilient to structure layout changes.
>It's not _strictly_ necessary, but I would like it to be in.

Yep makes sense as well. I actually made the same fix for the kernel
2.5.6. I have it basically going but SMP is still a bit broken. It
hangs on boot with 5 cpus. Seems like the startup of the migration
threads doesn't complete because load_balance isn't balancing...

blue skies,
   Martin

Linux/390 Design & Development, IBM Deutschland Entwicklung GmbH
Schönaicherstr. 220, D-71032 Böblingen, Telefon: 49 - (0)7031 - 16-2247
E-Mail: schwidefsky@de.ibm.com



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-03-18 23:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-03-15 18:29 2.4.19-pre3 s390 patch for hwc_con.c Pete Zaitcev
2002-03-18 14:03 Martin Schwidefsky
2002-03-18 23:31 ` Pete Zaitcev

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).