[PATCH] s390 2.4.24 typo and missing include

From: Samuel S Chessman
Date: Mon Jan 12 2004 - 11:42:17 EST


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.
Mon Jan 12 11:24:30 EST 2004
linux kernel 2.4.24 s390 patches by Sam Chessman chessman@xxxxxxx

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
--- 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;
}
}
}