diff options
author | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2006-01-06 03:19:28 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-06 11:33:53 -0500 |
commit | 347a8dc3b815f0c0fa62a1df075184ffe4cbdcf1 (patch) | |
tree | a6ec76690127e87fe6efa42b6238caadd6c07e7b /drivers/s390 | |
parent | 9bbc8346fb21fad3f678220b067450e436e45dbf (diff) |
[PATCH] s390: cleanup Kconfig
Sanitize some s390 Kconfig options. We have ARCH_S390, ARCH_S390X,
ARCH_S390_31, 64BIT, S390_SUPPORT and COMPAT. Replace these 6 options by
S390, 64BIT and COMPAT.
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/s390')
-rw-r--r-- | drivers/s390/block/Kconfig | 8 | ||||
-rw-r--r-- | drivers/s390/block/dasd.c | 2 | ||||
-rw-r--r-- | drivers/s390/block/dasd_diag.c | 2 | ||||
-rw-r--r-- | drivers/s390/block/dasd_diag.h | 6 | ||||
-rw-r--r-- | drivers/s390/block/dasd_eckd.c | 2 | ||||
-rw-r--r-- | drivers/s390/block/dasd_fba.c | 2 | ||||
-rw-r--r-- | drivers/s390/block/xpram.c | 4 | ||||
-rw-r--r-- | drivers/s390/char/vmwatchdog.c | 2 | ||||
-rw-r--r-- | drivers/s390/cio/cio.c | 2 | ||||
-rw-r--r-- | drivers/s390/cio/device_id.c | 2 | ||||
-rw-r--r-- | drivers/s390/cio/ioasm.h | 4 | ||||
-rw-r--r-- | drivers/s390/cio/qdio.c | 2 | ||||
-rw-r--r-- | drivers/s390/cio/qdio.h | 34 | ||||
-rw-r--r-- | drivers/s390/crypto/z90hardware.c | 8 | ||||
-rw-r--r-- | drivers/s390/net/Kconfig | 2 | ||||
-rw-r--r-- | drivers/s390/net/claw.c | 6 | ||||
-rw-r--r-- | drivers/s390/s390mach.c | 10 | ||||
-rw-r--r-- | drivers/s390/sysinfo.c | 2 |
18 files changed, 50 insertions, 50 deletions
diff --git a/drivers/s390/block/Kconfig b/drivers/s390/block/Kconfig index 6e7d7b06421d..6f50cc9323d9 100644 --- a/drivers/s390/block/Kconfig +++ b/drivers/s390/block/Kconfig | |||
@@ -1,11 +1,11 @@ | |||
1 | if ARCH_S390 | 1 | if S390 |
2 | 2 | ||
3 | comment "S/390 block device drivers" | 3 | comment "S/390 block device drivers" |
4 | depends on ARCH_S390 | 4 | depends on S390 |
5 | 5 | ||
6 | config BLK_DEV_XPRAM | 6 | config BLK_DEV_XPRAM |
7 | tristate "XPRAM disk support" | 7 | tristate "XPRAM disk support" |
8 | depends on ARCH_S390 | 8 | depends on S390 |
9 | help | 9 | help |
10 | Select this option if you want to use your expanded storage on S/390 | 10 | Select this option if you want to use your expanded storage on S/390 |
11 | or zSeries as a disk. This is useful as a _fast_ swap device if you | 11 | or zSeries as a disk. This is useful as a _fast_ swap device if you |
@@ -49,7 +49,7 @@ config DASD_FBA | |||
49 | 49 | ||
50 | config DASD_DIAG | 50 | config DASD_DIAG |
51 | tristate "Support for DIAG access to Disks" | 51 | tristate "Support for DIAG access to Disks" |
52 | depends on DASD && ( ARCH_S390X = 'n' || EXPERIMENTAL) | 52 | depends on DASD && ( 64BIT = 'n' || EXPERIMENTAL) |
53 | help | 53 | help |
54 | Select this option if you want to use Diagnose250 command to access | 54 | Select this option if you want to use Diagnose250 command to access |
55 | Disks under VM. If you are not running under VM or unsure what it is, | 55 | Disks under VM. If you are not running under VM or unsure what it is, |
diff --git a/drivers/s390/block/dasd.c b/drivers/s390/block/dasd.c index 1141a5963b67..041e1a621885 100644 --- a/drivers/s390/block/dasd.c +++ b/drivers/s390/block/dasd.c | |||
@@ -604,7 +604,7 @@ dasd_smalloc_request(char *magic, int cplength, int datasize, | |||
604 | void | 604 | void |
605 | dasd_kfree_request(struct dasd_ccw_req * cqr, struct dasd_device * device) | 605 | dasd_kfree_request(struct dasd_ccw_req * cqr, struct dasd_device * device) |
606 | { | 606 | { |
607 | #ifdef CONFIG_ARCH_S390X | 607 | #ifdef CONFIG_64BIT |
608 | struct ccw1 *ccw; | 608 | struct ccw1 *ccw; |
609 | 609 | ||
610 | /* Clear any idals used for the request. */ | 610 | /* Clear any idals used for the request. */ |
diff --git a/drivers/s390/block/dasd_diag.c b/drivers/s390/block/dasd_diag.c index a33d4064b537..ba80fdea7ebf 100644 --- a/drivers/s390/block/dasd_diag.c +++ b/drivers/s390/block/dasd_diag.c | |||
@@ -75,7 +75,7 @@ dia250(void *iob, int cmd) | |||
75 | int rc; | 75 | int rc; |
76 | 76 | ||
77 | __asm__ __volatile__( | 77 | __asm__ __volatile__( |
78 | #ifdef CONFIG_ARCH_S390X | 78 | #ifdef CONFIG_64BIT |
79 | " lghi %0,3\n" | 79 | " lghi %0,3\n" |
80 | " lgr 0,%3\n" | 80 | " lgr 0,%3\n" |
81 | " diag 0,%2,0x250\n" | 81 | " diag 0,%2,0x250\n" |
diff --git a/drivers/s390/block/dasd_diag.h b/drivers/s390/block/dasd_diag.h index 37edf6e91715..a4f80bd735f1 100644 --- a/drivers/s390/block/dasd_diag.h +++ b/drivers/s390/block/dasd_diag.h | |||
@@ -45,7 +45,7 @@ struct dasd_diag_characteristics { | |||
45 | } __attribute__ ((packed, aligned(4))); | 45 | } __attribute__ ((packed, aligned(4))); |
46 | 46 | ||
47 | 47 | ||
48 | #ifdef CONFIG_ARCH_S390X | 48 | #ifdef CONFIG_64BIT |
49 | #define DASD_DIAG_FLAGA_DEFAULT DASD_DIAG_FLAGA_FORMAT_64BIT | 49 | #define DASD_DIAG_FLAGA_DEFAULT DASD_DIAG_FLAGA_FORMAT_64BIT |
50 | 50 | ||
51 | typedef u64 blocknum_t; | 51 | typedef u64 blocknum_t; |
@@ -86,7 +86,7 @@ struct dasd_diag_rw_io { | |||
86 | struct dasd_diag_bio *bio_list; | 86 | struct dasd_diag_bio *bio_list; |
87 | u8 spare4[8]; | 87 | u8 spare4[8]; |
88 | } __attribute__ ((packed, aligned(8))); | 88 | } __attribute__ ((packed, aligned(8))); |
89 | #else /* CONFIG_ARCH_S390X */ | 89 | #else /* CONFIG_64BIT */ |
90 | #define DASD_DIAG_FLAGA_DEFAULT 0x0 | 90 | #define DASD_DIAG_FLAGA_DEFAULT 0x0 |
91 | 91 | ||
92 | typedef u32 blocknum_t; | 92 | typedef u32 blocknum_t; |
@@ -125,4 +125,4 @@ struct dasd_diag_rw_io { | |||
125 | u32 interrupt_params; | 125 | u32 interrupt_params; |
126 | u8 spare3[20]; | 126 | u8 spare3[20]; |
127 | } __attribute__ ((packed, aligned(8))); | 127 | } __attribute__ ((packed, aligned(8))); |
128 | #endif /* CONFIG_ARCH_S390X */ | 128 | #endif /* CONFIG_64BIT */ |
diff --git a/drivers/s390/block/dasd_eckd.c b/drivers/s390/block/dasd_eckd.c index efc4cf62496e..96eb48258580 100644 --- a/drivers/s390/block/dasd_eckd.c +++ b/drivers/s390/block/dasd_eckd.c | |||
@@ -1041,7 +1041,7 @@ dasd_eckd_build_cp(struct dasd_device * device, struct request *req) | |||
1041 | /* Eckd can only do full blocks. */ | 1041 | /* Eckd can only do full blocks. */ |
1042 | return ERR_PTR(-EINVAL); | 1042 | return ERR_PTR(-EINVAL); |
1043 | count += bv->bv_len >> (device->s2b_shift + 9); | 1043 | count += bv->bv_len >> (device->s2b_shift + 9); |
1044 | #if defined(CONFIG_ARCH_S390X) | 1044 | #if defined(CONFIG_64BIT) |
1045 | if (idal_is_needed (page_address(bv->bv_page), | 1045 | if (idal_is_needed (page_address(bv->bv_page), |
1046 | bv->bv_len)) | 1046 | bv->bv_len)) |
1047 | cidaw += bv->bv_len >> (device->s2b_shift + 9); | 1047 | cidaw += bv->bv_len >> (device->s2b_shift + 9); |
diff --git a/drivers/s390/block/dasd_fba.c b/drivers/s390/block/dasd_fba.c index 9bac8d87a9cc..8ec75dc08e2c 100644 --- a/drivers/s390/block/dasd_fba.c +++ b/drivers/s390/block/dasd_fba.c | |||
@@ -271,7 +271,7 @@ dasd_fba_build_cp(struct dasd_device * device, struct request *req) | |||
271 | /* Fba can only do full blocks. */ | 271 | /* Fba can only do full blocks. */ |
272 | return ERR_PTR(-EINVAL); | 272 | return ERR_PTR(-EINVAL); |
273 | count += bv->bv_len >> (device->s2b_shift + 9); | 273 | count += bv->bv_len >> (device->s2b_shift + 9); |
274 | #if defined(CONFIG_ARCH_S390X) | 274 | #if defined(CONFIG_64BIT) |
275 | if (idal_is_needed (page_address(bv->bv_page), | 275 | if (idal_is_needed (page_address(bv->bv_page), |
276 | bv->bv_len)) | 276 | bv->bv_len)) |
277 | cidaw += bv->bv_len / blksize; | 277 | cidaw += bv->bv_len / blksize; |
diff --git a/drivers/s390/block/xpram.c b/drivers/s390/block/xpram.c index d428c909b8a0..bf3a67c3cc5e 100644 --- a/drivers/s390/block/xpram.c +++ b/drivers/s390/block/xpram.c | |||
@@ -160,7 +160,7 @@ static int xpram_page_in (unsigned long page_addr, unsigned int xpage_index) | |||
160 | "0: ipm %0\n" | 160 | "0: ipm %0\n" |
161 | " srl %0,28\n" | 161 | " srl %0,28\n" |
162 | "1:\n" | 162 | "1:\n" |
163 | #ifndef CONFIG_ARCH_S390X | 163 | #ifndef CONFIG_64BIT |
164 | ".section __ex_table,\"a\"\n" | 164 | ".section __ex_table,\"a\"\n" |
165 | " .align 4\n" | 165 | " .align 4\n" |
166 | " .long 0b,1b\n" | 166 | " .long 0b,1b\n" |
@@ -208,7 +208,7 @@ static long xpram_page_out (unsigned long page_addr, unsigned int xpage_index) | |||
208 | "0: ipm %0\n" | 208 | "0: ipm %0\n" |
209 | " srl %0,28\n" | 209 | " srl %0,28\n" |
210 | "1:\n" | 210 | "1:\n" |
211 | #ifndef CONFIG_ARCH_S390X | 211 | #ifndef CONFIG_64BIT |
212 | ".section __ex_table,\"a\"\n" | 212 | ".section __ex_table,\"a\"\n" |
213 | " .align 4\n" | 213 | " .align 4\n" |
214 | " .long 0b,1b\n" | 214 | " .long 0b,1b\n" |
diff --git a/drivers/s390/char/vmwatchdog.c b/drivers/s390/char/vmwatchdog.c index 5473c23fcb52..5acc0ace3d7d 100644 --- a/drivers/s390/char/vmwatchdog.c +++ b/drivers/s390/char/vmwatchdog.c | |||
@@ -66,7 +66,7 @@ static int __diag288(enum vmwdt_func func, unsigned int timeout, | |||
66 | __cmdl = len; | 66 | __cmdl = len; |
67 | err = 0; | 67 | err = 0; |
68 | asm volatile ( | 68 | asm volatile ( |
69 | #ifdef __s390x__ | 69 | #ifdef CONFIG_64BIT |
70 | "diag %2,%4,0x288\n" | 70 | "diag %2,%4,0x288\n" |
71 | "1: \n" | 71 | "1: \n" |
72 | ".section .fixup,\"ax\"\n" | 72 | ".section .fixup,\"ax\"\n" |
diff --git a/drivers/s390/cio/cio.c b/drivers/s390/cio/cio.c index 6f274f4f92eb..7376bc87206d 100644 --- a/drivers/s390/cio/cio.c +++ b/drivers/s390/cio/cio.c | |||
@@ -195,7 +195,7 @@ cio_start_key (struct subchannel *sch, /* subchannel structure */ | |||
195 | sch->orb.spnd = sch->options.suspend; | 195 | sch->orb.spnd = sch->options.suspend; |
196 | sch->orb.ssic = sch->options.suspend && sch->options.inter; | 196 | sch->orb.ssic = sch->options.suspend && sch->options.inter; |
197 | sch->orb.lpm = (lpm != 0) ? (lpm & sch->opm) : sch->lpm; | 197 | sch->orb.lpm = (lpm != 0) ? (lpm & sch->opm) : sch->lpm; |
198 | #ifdef CONFIG_ARCH_S390X | 198 | #ifdef CONFIG_64BIT |
199 | /* | 199 | /* |
200 | * for 64 bit we always support 64 bit IDAWs with 4k page size only | 200 | * for 64 bit we always support 64 bit IDAWs with 4k page size only |
201 | */ | 201 | */ |
diff --git a/drivers/s390/cio/device_id.c b/drivers/s390/cio/device_id.c index 3c77c3fd461d..04ceba343db8 100644 --- a/drivers/s390/cio/device_id.c +++ b/drivers/s390/cio/device_id.c | |||
@@ -27,7 +27,7 @@ | |||
27 | /* | 27 | /* |
28 | * diag210 is used under VM to get information about a virtual device | 28 | * diag210 is used under VM to get information about a virtual device |
29 | */ | 29 | */ |
30 | #ifdef CONFIG_ARCH_S390X | 30 | #ifdef CONFIG_64BIT |
31 | int | 31 | int |
32 | diag210(struct diag210 * addr) | 32 | diag210(struct diag210 * addr) |
33 | { | 33 | { |
diff --git a/drivers/s390/cio/ioasm.h b/drivers/s390/cio/ioasm.h index 62b0e2ad507f..95a9462f9a91 100644 --- a/drivers/s390/cio/ioasm.h +++ b/drivers/s390/cio/ioasm.h | |||
@@ -50,7 +50,7 @@ static inline int stsch_err(struct subchannel_id schid, | |||
50 | "0: ipm %0\n" | 50 | "0: ipm %0\n" |
51 | " srl %0,28\n" | 51 | " srl %0,28\n" |
52 | "1:\n" | 52 | "1:\n" |
53 | #ifdef CONFIG_ARCH_S390X | 53 | #ifdef CONFIG_64BIT |
54 | ".section __ex_table,\"a\"\n" | 54 | ".section __ex_table,\"a\"\n" |
55 | " .align 8\n" | 55 | " .align 8\n" |
56 | " .quad 0b,1b\n" | 56 | " .quad 0b,1b\n" |
@@ -95,7 +95,7 @@ static inline int msch_err(struct subchannel_id schid, | |||
95 | "0: ipm %0\n" | 95 | "0: ipm %0\n" |
96 | " srl %0,28\n" | 96 | " srl %0,28\n" |
97 | "1:\n" | 97 | "1:\n" |
98 | #ifdef CONFIG_ARCH_S390X | 98 | #ifdef CONFIG_64BIT |
99 | ".section __ex_table,\"a\"\n" | 99 | ".section __ex_table,\"a\"\n" |
100 | " .align 8\n" | 100 | " .align 8\n" |
101 | " .quad 0b,1b\n" | 101 | " .quad 0b,1b\n" |
diff --git a/drivers/s390/cio/qdio.c b/drivers/s390/cio/qdio.c index 035c77af9cd3..30a836ffc31f 100644 --- a/drivers/s390/cio/qdio.c +++ b/drivers/s390/cio/qdio.c | |||
@@ -2394,7 +2394,7 @@ tiqdio_check_chsc_availability(void) | |||
2394 | sprintf(dbf_text,"hydrati%1x", hydra_thinints); | 2394 | sprintf(dbf_text,"hydrati%1x", hydra_thinints); |
2395 | QDIO_DBF_TEXT0(0,setup,dbf_text); | 2395 | QDIO_DBF_TEXT0(0,setup,dbf_text); |
2396 | 2396 | ||
2397 | #ifdef CONFIG_ARCH_S390X | 2397 | #ifdef CONFIG_64BIT |
2398 | /* Check for QEBSM support in general (bit 58). */ | 2398 | /* Check for QEBSM support in general (bit 58). */ |
2399 | is_passthrough = css_general_characteristics.qebsm; | 2399 | is_passthrough = css_general_characteristics.qebsm; |
2400 | #endif | 2400 | #endif |
diff --git a/drivers/s390/cio/qdio.h b/drivers/s390/cio/qdio.h index 43b840af5300..fa385e761fe1 100644 --- a/drivers/s390/cio/qdio.h +++ b/drivers/s390/cio/qdio.h | |||
@@ -271,7 +271,7 @@ static inline int | |||
271 | do_sqbs(unsigned long sch, unsigned char state, int queue, | 271 | do_sqbs(unsigned long sch, unsigned char state, int queue, |
272 | unsigned int *start, unsigned int *count) | 272 | unsigned int *start, unsigned int *count) |
273 | { | 273 | { |
274 | #ifdef CONFIG_ARCH_S390X | 274 | #ifdef CONFIG_64BIT |
275 | register unsigned long _ccq asm ("0") = *count; | 275 | register unsigned long _ccq asm ("0") = *count; |
276 | register unsigned long _sch asm ("1") = sch; | 276 | register unsigned long _sch asm ("1") = sch; |
277 | unsigned long _queuestart = ((unsigned long)queue << 32) | *start; | 277 | unsigned long _queuestart = ((unsigned long)queue << 32) | *start; |
@@ -295,7 +295,7 @@ static inline int | |||
295 | do_eqbs(unsigned long sch, unsigned char *state, int queue, | 295 | do_eqbs(unsigned long sch, unsigned char *state, int queue, |
296 | unsigned int *start, unsigned int *count) | 296 | unsigned int *start, unsigned int *count) |
297 | { | 297 | { |
298 | #ifdef CONFIG_ARCH_S390X | 298 | #ifdef CONFIG_64BIT |
299 | register unsigned long _ccq asm ("0") = *count; | 299 | register unsigned long _ccq asm ("0") = *count; |
300 | register unsigned long _sch asm ("1") = sch; | 300 | register unsigned long _sch asm ("1") = sch; |
301 | unsigned long _queuestart = ((unsigned long)queue << 32) | *start; | 301 | unsigned long _queuestart = ((unsigned long)queue << 32) | *start; |
@@ -323,7 +323,7 @@ do_siga_sync(struct subchannel_id schid, unsigned int mask1, unsigned int mask2) | |||
323 | { | 323 | { |
324 | int cc; | 324 | int cc; |
325 | 325 | ||
326 | #ifndef CONFIG_ARCH_S390X | 326 | #ifndef CONFIG_64BIT |
327 | asm volatile ( | 327 | asm volatile ( |
328 | "lhi 0,2 \n\t" | 328 | "lhi 0,2 \n\t" |
329 | "lr 1,%1 \n\t" | 329 | "lr 1,%1 \n\t" |
@@ -336,7 +336,7 @@ do_siga_sync(struct subchannel_id schid, unsigned int mask1, unsigned int mask2) | |||
336 | : "d" (schid), "d" (mask1), "d" (mask2) | 336 | : "d" (schid), "d" (mask1), "d" (mask2) |
337 | : "cc", "0", "1", "2", "3" | 337 | : "cc", "0", "1", "2", "3" |
338 | ); | 338 | ); |
339 | #else /* CONFIG_ARCH_S390X */ | 339 | #else /* CONFIG_64BIT */ |
340 | asm volatile ( | 340 | asm volatile ( |
341 | "lghi 0,2 \n\t" | 341 | "lghi 0,2 \n\t" |
342 | "llgfr 1,%1 \n\t" | 342 | "llgfr 1,%1 \n\t" |
@@ -349,7 +349,7 @@ do_siga_sync(struct subchannel_id schid, unsigned int mask1, unsigned int mask2) | |||
349 | : "d" (schid), "d" (mask1), "d" (mask2) | 349 | : "d" (schid), "d" (mask1), "d" (mask2) |
350 | : "cc", "0", "1", "2", "3" | 350 | : "cc", "0", "1", "2", "3" |
351 | ); | 351 | ); |
352 | #endif /* CONFIG_ARCH_S390X */ | 352 | #endif /* CONFIG_64BIT */ |
353 | return cc; | 353 | return cc; |
354 | } | 354 | } |
355 | 355 | ||
@@ -358,7 +358,7 @@ do_siga_input(struct subchannel_id schid, unsigned int mask) | |||
358 | { | 358 | { |
359 | int cc; | 359 | int cc; |
360 | 360 | ||
361 | #ifndef CONFIG_ARCH_S390X | 361 | #ifndef CONFIG_64BIT |
362 | asm volatile ( | 362 | asm volatile ( |
363 | "lhi 0,1 \n\t" | 363 | "lhi 0,1 \n\t" |
364 | "lr 1,%1 \n\t" | 364 | "lr 1,%1 \n\t" |
@@ -370,7 +370,7 @@ do_siga_input(struct subchannel_id schid, unsigned int mask) | |||
370 | : "d" (schid), "d" (mask) | 370 | : "d" (schid), "d" (mask) |
371 | : "cc", "0", "1", "2", "memory" | 371 | : "cc", "0", "1", "2", "memory" |
372 | ); | 372 | ); |
373 | #else /* CONFIG_ARCH_S390X */ | 373 | #else /* CONFIG_64BIT */ |
374 | asm volatile ( | 374 | asm volatile ( |
375 | "lghi 0,1 \n\t" | 375 | "lghi 0,1 \n\t" |
376 | "llgfr 1,%1 \n\t" | 376 | "llgfr 1,%1 \n\t" |
@@ -382,7 +382,7 @@ do_siga_input(struct subchannel_id schid, unsigned int mask) | |||
382 | : "d" (schid), "d" (mask) | 382 | : "d" (schid), "d" (mask) |
383 | : "cc", "0", "1", "2", "memory" | 383 | : "cc", "0", "1", "2", "memory" |
384 | ); | 384 | ); |
385 | #endif /* CONFIG_ARCH_S390X */ | 385 | #endif /* CONFIG_64BIT */ |
386 | 386 | ||
387 | return cc; | 387 | return cc; |
388 | } | 388 | } |
@@ -394,7 +394,7 @@ do_siga_output(unsigned long schid, unsigned long mask, __u32 *bb, | |||
394 | int cc; | 394 | int cc; |
395 | __u32 busy_bit; | 395 | __u32 busy_bit; |
396 | 396 | ||
397 | #ifndef CONFIG_ARCH_S390X | 397 | #ifndef CONFIG_64BIT |
398 | asm volatile ( | 398 | asm volatile ( |
399 | "lhi 0,0 \n\t" | 399 | "lhi 0,0 \n\t" |
400 | "lr 1,%2 \n\t" | 400 | "lr 1,%2 \n\t" |
@@ -424,7 +424,7 @@ do_siga_output(unsigned long schid, unsigned long mask, __u32 *bb, | |||
424 | "i" (QDIO_SIGA_ERROR_ACCESS_EXCEPTION) | 424 | "i" (QDIO_SIGA_ERROR_ACCESS_EXCEPTION) |
425 | : "cc", "0", "1", "2", "memory" | 425 | : "cc", "0", "1", "2", "memory" |
426 | ); | 426 | ); |
427 | #else /* CONFIG_ARCH_S390X */ | 427 | #else /* CONFIG_64BIT */ |
428 | asm volatile ( | 428 | asm volatile ( |
429 | "llgfr 0,%5 \n\t" | 429 | "llgfr 0,%5 \n\t" |
430 | "lgr 1,%2 \n\t" | 430 | "lgr 1,%2 \n\t" |
@@ -449,7 +449,7 @@ do_siga_output(unsigned long schid, unsigned long mask, __u32 *bb, | |||
449 | "i" (QDIO_SIGA_ERROR_ACCESS_EXCEPTION), "d" (fc) | 449 | "i" (QDIO_SIGA_ERROR_ACCESS_EXCEPTION), "d" (fc) |
450 | : "cc", "0", "1", "2", "memory" | 450 | : "cc", "0", "1", "2", "memory" |
451 | ); | 451 | ); |
452 | #endif /* CONFIG_ARCH_S390X */ | 452 | #endif /* CONFIG_64BIT */ |
453 | 453 | ||
454 | (*bb) = busy_bit; | 454 | (*bb) = busy_bit; |
455 | return cc; | 455 | return cc; |
@@ -461,21 +461,21 @@ do_clear_global_summary(void) | |||
461 | 461 | ||
462 | unsigned long time; | 462 | unsigned long time; |
463 | 463 | ||
464 | #ifndef CONFIG_ARCH_S390X | 464 | #ifndef CONFIG_64BIT |
465 | asm volatile ( | 465 | asm volatile ( |
466 | "lhi 1,3 \n\t" | 466 | "lhi 1,3 \n\t" |
467 | ".insn rre,0xb2650000,2,0 \n\t" | 467 | ".insn rre,0xb2650000,2,0 \n\t" |
468 | "lr %0,3 \n\t" | 468 | "lr %0,3 \n\t" |
469 | : "=d" (time) : : "cc", "1", "2", "3" | 469 | : "=d" (time) : : "cc", "1", "2", "3" |
470 | ); | 470 | ); |
471 | #else /* CONFIG_ARCH_S390X */ | 471 | #else /* CONFIG_64BIT */ |
472 | asm volatile ( | 472 | asm volatile ( |
473 | "lghi 1,3 \n\t" | 473 | "lghi 1,3 \n\t" |
474 | ".insn rre,0xb2650000,2,0 \n\t" | 474 | ".insn rre,0xb2650000,2,0 \n\t" |
475 | "lgr %0,3 \n\t" | 475 | "lgr %0,3 \n\t" |
476 | : "=d" (time) : : "cc", "1", "2", "3" | 476 | : "=d" (time) : : "cc", "1", "2", "3" |
477 | ); | 477 | ); |
478 | #endif /* CONFIG_ARCH_S390X */ | 478 | #endif /* CONFIG_64BIT */ |
479 | 479 | ||
480 | return time; | 480 | return time; |
481 | } | 481 | } |
@@ -542,11 +542,11 @@ struct qdio_perf_stats { | |||
542 | 542 | ||
543 | #define MY_MODULE_STRING(x) #x | 543 | #define MY_MODULE_STRING(x) #x |
544 | 544 | ||
545 | #ifdef CONFIG_ARCH_S390X | 545 | #ifdef CONFIG_64BIT |
546 | #define QDIO_GET_ADDR(x) ((__u32)(unsigned long)x) | 546 | #define QDIO_GET_ADDR(x) ((__u32)(unsigned long)x) |
547 | #else /* CONFIG_ARCH_S390X */ | 547 | #else /* CONFIG_64BIT */ |
548 | #define QDIO_GET_ADDR(x) ((__u32)(long)x) | 548 | #define QDIO_GET_ADDR(x) ((__u32)(long)x) |
549 | #endif /* CONFIG_ARCH_S390X */ | 549 | #endif /* CONFIG_64BIT */ |
550 | 550 | ||
551 | struct qdio_q { | 551 | struct qdio_q { |
552 | volatile struct slsb slsb; | 552 | volatile struct slsb slsb; |
diff --git a/drivers/s390/crypto/z90hardware.c b/drivers/s390/crypto/z90hardware.c index 7c3ed52e03e1..d7f7494a0cbe 100644 --- a/drivers/s390/crypto/z90hardware.c +++ b/drivers/s390/crypto/z90hardware.c | |||
@@ -785,7 +785,7 @@ testq(int q_nr, int *q_depth, int *dev_type, struct ap_status_word *stat) | |||
785 | int ccode; | 785 | int ccode; |
786 | 786 | ||
787 | asm volatile | 787 | asm volatile |
788 | #ifdef __s390x__ | 788 | #ifdef CONFIG_64BIT |
789 | (" llgfr 0,%4 \n" | 789 | (" llgfr 0,%4 \n" |
790 | " slgr 1,1 \n" | 790 | " slgr 1,1 \n" |
791 | " lgr 2,1 \n" | 791 | " lgr 2,1 \n" |
@@ -855,7 +855,7 @@ resetq(int q_nr, struct ap_status_word *stat_p) | |||
855 | int ccode; | 855 | int ccode; |
856 | 856 | ||
857 | asm volatile | 857 | asm volatile |
858 | #ifdef __s390x__ | 858 | #ifdef CONFIG_64BIT |
859 | (" llgfr 0,%2 \n" | 859 | (" llgfr 0,%2 \n" |
860 | " lghi 1,1 \n" | 860 | " lghi 1,1 \n" |
861 | " sll 1,24 \n" | 861 | " sll 1,24 \n" |
@@ -921,7 +921,7 @@ sen(int msg_len, unsigned char *msg_ext, struct ap_status_word *stat) | |||
921 | int ccode; | 921 | int ccode; |
922 | 922 | ||
923 | asm volatile | 923 | asm volatile |
924 | #ifdef __s390x__ | 924 | #ifdef CONFIG_64BIT |
925 | (" lgr 6,%3 \n" | 925 | (" lgr 6,%3 \n" |
926 | " llgfr 7,%2 \n" | 926 | " llgfr 7,%2 \n" |
927 | " llgt 0,0(6) \n" | 927 | " llgt 0,0(6) \n" |
@@ -1000,7 +1000,7 @@ rec(int q_nr, int buff_l, unsigned char *rsp, unsigned char *id, | |||
1000 | int ccode; | 1000 | int ccode; |
1001 | 1001 | ||
1002 | asm volatile | 1002 | asm volatile |
1003 | #ifdef __s390x__ | 1003 | #ifdef CONFIG_64BIT |
1004 | (" llgfr 0,%2 \n" | 1004 | (" llgfr 0,%2 \n" |
1005 | " lgr 3,%4 \n" | 1005 | " lgr 3,%4 \n" |
1006 | " lgr 6,%3 \n" | 1006 | " lgr 6,%3 \n" |
diff --git a/drivers/s390/net/Kconfig b/drivers/s390/net/Kconfig index a7efc394515e..548854754921 100644 --- a/drivers/s390/net/Kconfig +++ b/drivers/s390/net/Kconfig | |||
@@ -1,5 +1,5 @@ | |||
1 | menu "S/390 network device drivers" | 1 | menu "S/390 network device drivers" |
2 | depends on NETDEVICES && ARCH_S390 | 2 | depends on NETDEVICES && S390 |
3 | 3 | ||
4 | config LCS | 4 | config LCS |
5 | tristate "Lan Channel Station Interface" | 5 | tristate "Lan Channel Station Interface" |
diff --git a/drivers/s390/net/claw.c b/drivers/s390/net/claw.c index 6b63d21612ec..e70af7f39946 100644 --- a/drivers/s390/net/claw.c +++ b/drivers/s390/net/claw.c | |||
@@ -1603,7 +1603,7 @@ dumpit(char* buf, int len) | |||
1603 | __u32 ct, sw, rm, dup; | 1603 | __u32 ct, sw, rm, dup; |
1604 | char *ptr, *rptr; | 1604 | char *ptr, *rptr; |
1605 | char tbuf[82], tdup[82]; | 1605 | char tbuf[82], tdup[82]; |
1606 | #if (CONFIG_ARCH_S390X) | 1606 | #if (CONFIG_64BIT) |
1607 | char addr[22]; | 1607 | char addr[22]; |
1608 | #else | 1608 | #else |
1609 | char addr[12]; | 1609 | char addr[12]; |
@@ -1619,7 +1619,7 @@ dumpit(char* buf, int len) | |||
1619 | dup = 0; | 1619 | dup = 0; |
1620 | for ( ct=0; ct < len; ct++, ptr++, rptr++ ) { | 1620 | for ( ct=0; ct < len; ct++, ptr++, rptr++ ) { |
1621 | if (sw == 0) { | 1621 | if (sw == 0) { |
1622 | #if (CONFIG_ARCH_S390X) | 1622 | #if (CONFIG_64BIT) |
1623 | sprintf(addr, "%16.16lX",(unsigned long)rptr); | 1623 | sprintf(addr, "%16.16lX",(unsigned long)rptr); |
1624 | #else | 1624 | #else |
1625 | sprintf(addr, "%8.8X",(__u32)rptr); | 1625 | sprintf(addr, "%8.8X",(__u32)rptr); |
@@ -1634,7 +1634,7 @@ dumpit(char* buf, int len) | |||
1634 | if (sw == 8) { | 1634 | if (sw == 8) { |
1635 | strcat(bhex, " "); | 1635 | strcat(bhex, " "); |
1636 | } | 1636 | } |
1637 | #if (CONFIG_ARCH_S390X) | 1637 | #if (CONFIG_64BIT) |
1638 | sprintf(tbuf,"%2.2lX", (unsigned long)*ptr); | 1638 | sprintf(tbuf,"%2.2lX", (unsigned long)*ptr); |
1639 | #else | 1639 | #else |
1640 | sprintf(tbuf,"%2.2X", (__u32)*ptr); | 1640 | sprintf(tbuf,"%2.2X", (__u32)*ptr); |
diff --git a/drivers/s390/s390mach.c b/drivers/s390/s390mach.c index 7dad597ff86e..3bf466603512 100644 --- a/drivers/s390/s390mach.c +++ b/drivers/s390/s390mach.c | |||
@@ -246,7 +246,7 @@ s390_revalidate_registers(struct mci *mci) | |||
246 | */ | 246 | */ |
247 | kill_task = 1; | 247 | kill_task = 1; |
248 | 248 | ||
249 | #ifndef __s390x__ | 249 | #ifndef CONFIG_64BIT |
250 | asm volatile("ld 0,0(%0)\n" | 250 | asm volatile("ld 0,0(%0)\n" |
251 | "ld 2,8(%0)\n" | 251 | "ld 2,8(%0)\n" |
252 | "ld 4,16(%0)\n" | 252 | "ld 4,16(%0)\n" |
@@ -255,7 +255,7 @@ s390_revalidate_registers(struct mci *mci) | |||
255 | #endif | 255 | #endif |
256 | 256 | ||
257 | if (MACHINE_HAS_IEEE) { | 257 | if (MACHINE_HAS_IEEE) { |
258 | #ifdef __s390x__ | 258 | #ifdef CONFIG_64BIT |
259 | fpt_save_area = &S390_lowcore.floating_pt_save_area; | 259 | fpt_save_area = &S390_lowcore.floating_pt_save_area; |
260 | fpt_creg_save_area = &S390_lowcore.fpt_creg_save_area; | 260 | fpt_creg_save_area = &S390_lowcore.fpt_creg_save_area; |
261 | #else | 261 | #else |
@@ -314,7 +314,7 @@ s390_revalidate_registers(struct mci *mci) | |||
314 | */ | 314 | */ |
315 | s390_handle_damage("invalid control registers."); | 315 | s390_handle_damage("invalid control registers."); |
316 | else | 316 | else |
317 | #ifdef __s390x__ | 317 | #ifdef CONFIG_64BIT |
318 | asm volatile("lctlg 0,15,0(%0)" | 318 | asm volatile("lctlg 0,15,0(%0)" |
319 | : : "a" (&S390_lowcore.cregs_save_area)); | 319 | : : "a" (&S390_lowcore.cregs_save_area)); |
320 | #else | 320 | #else |
@@ -327,7 +327,7 @@ s390_revalidate_registers(struct mci *mci) | |||
327 | * can't write something sensible into that register. | 327 | * can't write something sensible into that register. |
328 | */ | 328 | */ |
329 | 329 | ||
330 | #ifdef __s390x__ | 330 | #ifdef CONFIG_64BIT |
331 | /* | 331 | /* |
332 | * See if we can revalidate the TOD programmable register with its | 332 | * See if we can revalidate the TOD programmable register with its |
333 | * old contents (should be zero) otherwise set it to zero. | 333 | * old contents (should be zero) otherwise set it to zero. |
@@ -384,7 +384,7 @@ s390_do_machine_check(struct pt_regs *regs) | |||
384 | if (mci->b) { | 384 | if (mci->b) { |
385 | /* Processing backup -> verify if we can survive this */ | 385 | /* Processing backup -> verify if we can survive this */ |
386 | u64 z_mcic, o_mcic, t_mcic; | 386 | u64 z_mcic, o_mcic, t_mcic; |
387 | #ifdef __s390x__ | 387 | #ifdef CONFIG_64BIT |
388 | z_mcic = (1ULL<<63 | 1ULL<<59 | 1ULL<<29); | 388 | z_mcic = (1ULL<<63 | 1ULL<<59 | 1ULL<<29); |
389 | o_mcic = (1ULL<<43 | 1ULL<<42 | 1ULL<<41 | 1ULL<<40 | | 389 | o_mcic = (1ULL<<43 | 1ULL<<42 | 1ULL<<41 | 1ULL<<40 | |
390 | 1ULL<<36 | 1ULL<<35 | 1ULL<<34 | 1ULL<<32 | | 390 | 1ULL<<36 | 1ULL<<35 | 1ULL<<34 | 1ULL<<32 | |
diff --git a/drivers/s390/sysinfo.c b/drivers/s390/sysinfo.c index 87c2db1bd4f5..66da840c9316 100644 --- a/drivers/s390/sysinfo.c +++ b/drivers/s390/sysinfo.c | |||
@@ -106,7 +106,7 @@ static inline int stsi (void *sysinfo, | |||
106 | { | 106 | { |
107 | int cc, retv; | 107 | int cc, retv; |
108 | 108 | ||
109 | #ifndef CONFIG_ARCH_S390X | 109 | #ifndef CONFIG_64BIT |
110 | __asm__ __volatile__ ( "lr\t0,%2\n" | 110 | __asm__ __volatile__ ( "lr\t0,%2\n" |
111 | "\tlr\t1,%3\n" | 111 | "\tlr\t1,%3\n" |
112 | "\tstsi\t0(%4)\n" | 112 | "\tstsi\t0(%4)\n" |