1
diff -Naur linux-2.4.19/drivers/s390/block/dasd_eckd.h linux-2.4.19-s390-gcc-3.3/drivers/s390/block/dasd_eckd.h
2
--- linux-2.4.19/drivers/s390/block/dasd_eckd.h 2003-04-08 19:35:04.000000000 +0200
3
+++ linux-2.4.19-s390-gcc-3.3/drivers/s390/block/dasd_eckd.h 2003-04-08 19:18:48.000000000 +0200
5
unsigned char cfw:1; /* Cache fast write */
6
unsigned char dfw:1; /* DASD fast write */
7
} __attribute__ ((packed)) attributes;
8
- __u16 short blk_size; /* Blocksize */
9
+ __u16 blk_size; /* Blocksize */
11
__u8 ga_additional; /* Global Attributes Additional */
12
__u8 ga_extended; /* Global Attributes Extended */
13
diff -Naur linux-2.4.19/drivers/s390/qdio.c linux-2.4.19-s390-gcc-3.3/drivers/s390/qdio.c
14
--- linux-2.4.19/drivers/s390/qdio.c 2003-04-08 19:20:42.000000000 +0200
15
+++ linux-2.4.19-s390-gcc-3.3/drivers/s390/qdio.c 2003-04-08 19:18:13.000000000 +0200
18
my_s390irq_spin_unlock_irqrestore(irq_ptr->irq,saveflags);
20
-#define TAKEOVER_CIW(x) irq_ptr->commands.##x=ioinfo[irq_ptr->irq]->senseid.ciw[ciw_cnt].cmd; irq_ptr->commands.count_##x=ioinfo[irq_ptr->irq]->senseid.ciw[ciw_cnt].count
21
+#define TAKEOVER_CIW(x) irq_ptr->commands.x=ioinfo[irq_ptr->irq]->senseid.ciw[ciw_cnt].cmd; irq_ptr->commands.count_##x=ioinfo[irq_ptr->irq]->senseid.ciw[ciw_cnt].count
23
/* get qdio commands */
25
for (ciw_cnt=0;ciw_cnt<MAX_CIWS;ciw_cnt++) {
26
diff -Naur linux-2.4.19/include/asm-s390/unistd.h linux-2.4.19-s390-gcc-3.3/include/asm-s390/unistd.h
27
--- linux-2.4.19/include/asm-s390/unistd.h 2003-04-08 19:20:29.000000000 +0200
28
+++ linux-2.4.19-s390-gcc-3.3/include/asm-s390/unistd.h 2003-04-08 19:18:26.000000000 +0200
30
return (type) (res); \
33
-#define _svc_clobber "2", "cc", "memory"
34
+#define _svc_clobber "cc", "memory"
36
#define _syscall0(type,name) \
39
+ register long __res asm("2"); \
40
__asm__ __volatile__ ( \
44
#define _syscall1(type,name,type1,arg1) \
45
type name(type1 arg1) { \
46
register type1 __arg1 asm("2") = arg1; \
48
+ register long __res asm("2"); \
49
__asm__ __volatile__ ( \
53
: "i" (__NR_##name), \
57
__syscall_return(type,__res); \
60
type name(type1 arg1, type2 arg2) { \
61
register type1 __arg1 asm("2") = arg1; \
62
register type2 __arg2 asm("3") = arg2; \
64
+ register long __res asm("2"); \
65
__asm__ __volatile__ ( \
69
: "i" (__NR_##name), \
74
__syscall_return(type,__res); \
76
register type1 __arg1 asm("2") = arg1; \
77
register type2 __arg2 asm("3") = arg2; \
78
register type3 __arg3 asm("4") = arg3; \
80
+ register long __res asm("2"); \
81
__asm__ __volatile__ ( \
85
: "i" (__NR_##name), \
92
register type2 __arg2 asm("3") = arg2; \
93
register type3 __arg3 asm("4") = arg3; \
94
register type4 __arg4 asm("5") = arg4; \
96
+ register long __res asm("2"); \
97
__asm__ __volatile__ ( \
101
: "i" (__NR_##name), \
107
@@ -322,13 +322,13 @@
108
register type3 __arg3 asm("4") = arg3; \
109
register type4 __arg4 asm("5") = arg4; \
110
register type5 __arg5 asm("6") = arg5; \
112
+ register long __res asm("2"); \
113
__asm__ __volatile__ ( \
117
: "i" (__NR_##name), \
123
diff -Naur linux-2.4.19/include/asm-s390x/unistd.h linux-2.4.19-s390-gcc-3.3/include/asm-s390x/unistd.h
124
--- linux-2.4.19/include/asm-s390x/unistd.h 2003-04-08 19:20:34.000000000 +0200
125
+++ linux-2.4.19-s390-gcc-3.3/include/asm-s390x/unistd.h 2003-04-08 19:18:33.000000000 +0200
126
@@ -199,11 +199,11 @@
127
return (type) (res); \
130
-#define _svc_clobber "2", "cc", "memory"
131
+#define _svc_clobber "cc", "memory"
133
#define _syscall0(type,name) \
136
+ register long __res asm("2"); \
137
__asm__ __volatile__ ( \
140
@@ -216,13 +216,13 @@
141
#define _syscall1(type,name,type1,arg1) \
142
type name(type1 arg1) { \
143
register type1 __arg1 asm("2") = arg1; \
145
+ register long __res asm("2"); \
146
__asm__ __volatile__ ( \
150
: "i" (__NR_##name), \
154
__syscall_return(type,__res); \
156
@@ -231,13 +231,13 @@
157
type name(type1 arg1, type2 arg2) { \
158
register type1 __arg1 asm("2") = arg1; \
159
register type2 __arg2 asm("3") = arg2; \
161
+ register long __res asm("2"); \
162
__asm__ __volatile__ ( \
166
: "i" (__NR_##name), \
171
__syscall_return(type,__res); \
172
@@ -248,13 +248,13 @@
173
register type1 __arg1 asm("2") = arg1; \
174
register type2 __arg2 asm("3") = arg2; \
175
register type3 __arg3 asm("4") = arg3; \
177
+ register long __res asm("2"); \
178
__asm__ __volatile__ ( \
182
: "i" (__NR_##name), \
188
@@ -268,13 +268,13 @@
189
register type2 __arg2 asm("3") = arg2; \
190
register type3 __arg3 asm("4") = arg3; \
191
register type4 __arg4 asm("5") = arg4; \
193
+ register long __res asm("2"); \
194
__asm__ __volatile__ ( \
198
: "i" (__NR_##name), \
204
@@ -291,13 +291,13 @@
205
register type3 __arg3 asm("4") = arg3; \
206
register type4 __arg4 asm("5") = arg4; \
207
register type5 __arg5 asm("6") = arg5; \
209
+ register long __res asm("2"); \
210
__asm__ __volatile__ ( \
214
: "i" (__NR_##name), \