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/block | |
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/block')
-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 |
7 files changed, 13 insertions, 13 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" |