patch-2.4.2 linux/arch/s390/kernel/cpcmd.c
Next file: linux/arch/s390/kernel/debug.c
Previous file: linux/arch/s390/kernel/Makefile
Back to the patch index
Back to the overall index
- Lines: 31
- Date:
Tue Feb 13 14:13:43 2001
- Orig file:
v2.4.1/linux/arch/s390/kernel/cpcmd.c
- Orig date:
Fri May 12 11:41:44 2000
diff -u --recursive --new-file v2.4.1/linux/arch/s390/kernel/cpcmd.c linux/arch/s390/kernel/cpcmd.c
@@ -8,7 +8,7 @@
#include <linux/stddef.h>
#include <linux/kernel.h>
-#include <asm/string.h>
+#include <linux/string.h>
#include <asm/ebcdic.h>
void cpcmd(char *cmd, char *response, int rlen)
@@ -22,10 +22,10 @@
ASCEBC(obuffer,olen);
if (response != NULL && rlen > 0) {
- asm volatile ("LRA 2,0(0,%0)\n\t"
+ asm volatile ("LRA 2,0(%0)\n\t"
"LR 4,%1\n\t"
"O 4,%4\n\t"
- "LRA 3,0(0,%2)\n\t"
+ "LRA 3,0(%2)\n\t"
"LR 5,%3\n\t"
".long 0x83240008 # Diagnose 83\n\t"
: /* no output */
@@ -34,7 +34,7 @@
: "2", "3", "4", "5" );
EBCASC(response, rlen);
} else {
- asm volatile ("LRA 2,0(0,%0)\n\t"
+ asm volatile ("LRA 2,0(%0)\n\t"
"LR 3,%1\n\t"
".long 0x83230008 # Diagnose 83\n\t"
: /* no output */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)