All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] s390 2.4.24 typo and missing include
@ 2004-01-12 16:41 Samuel S Chessman
  0 siblings, 0 replies; only message in thread
From: Samuel S Chessman @ 2004-01-12 16:41 UTC (permalink / raw)
  To: LINUX-390, linux-kernel

[-- Attachment #1: Type: TEXT/PLAIN, Size: 415 bytes --]

The following two patches are needed to get linux 2.4.24 to compile
s390 linux.  I have not had a chance to ipl to test if 2.4.24 runs
but these were necessary to compile.
The typo is only discovered if CONFIG_SMP is undefined.

Attached README and patch.

-- 
   Sam Chessman                                         chessman (a) tux.org
    First do what's necessary, then what's possible, finally the impossible.

[-- Attachment #2: Patch Readme --]
[-- Type: TEXT/PLAIN, Size: 312 bytes --]

Mon Jan 12 11:24:30 EST 2004
linux kernel 2.4.24 s390 patches by Sam Chessman chessman@tux.org

linux-2.4.24/drivers/s390/char/ctrlchar.c add errno.h for EINVAL	

linux-2.4.24/drivers/s390/char/hwc_rw.c	fix typo in non-SMP ifdef block
linux-2.4.24/drivers/s390/char/hwc_rw.c	add break after default: case

[-- Attachment #3: unified context diff --]
[-- Type: TEXT/PLAIN, Size: 786 bytes --]

--- drivers/s390/char/ctrlchar.c.orig	2003-08-25 07:44:42.000000000 -0400
+++ drivers/s390/char/ctrlchar.c	2004-01-12 10:22:06.000000000 -0500
@@ -9,6 +9,7 @@
 
 #include <linux/config.h>
 #include <linux/stddef.h>
+#include <linux/errno.h>
 #include <linux/sysrq.h>
 #include <linux/ctype.h>
 #include <linux/interrupt.h>

--- drivers/s390/char/hwc_rw.c.orig	2002-11-28 18:53:14.000000000 -0500
+++ drivers/s390/char/hwc_rw.c	2004-01-12 10:25:36.000000000 -0500
@@ -1662,7 +1662,7 @@
 	psw_t quiesce_psw;
 
 	quiesce_psw.mask = _DW_PSW_MASK;
-	queisce_psw.addr = 0xfff;
+	quiesce_psw.addr = 0xfff;
 	__load_psw (quiesce_psw);
 }
 
@@ -2247,6 +2247,7 @@
 					unconditional_read_2 (ext_int_param);
 					break;
 				default:
+					break;
 				}
 			}
 		}

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-01-12 16:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-01-12 16:41 [PATCH] s390 2.4.24 typo and missing include Samuel S Chessman

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.