diff options
Diffstat (limited to 'drivers/s390')
-rw-r--r-- | drivers/s390/block/dasd_int.h | 4 | ||||
-rw-r--r-- | drivers/s390/char/sclp_sdias.c | 2 |
2 files changed, 1 insertions, 5 deletions
diff --git a/drivers/s390/block/dasd_int.h b/drivers/s390/block/dasd_int.h index 33a6743ddc55..c05da00583f0 100644 --- a/drivers/s390/block/dasd_int.h +++ b/drivers/s390/block/dasd_int.h | |||
@@ -10,8 +10,6 @@ | |||
10 | #ifndef DASD_INT_H | 10 | #ifndef DASD_INT_H |
11 | #define DASD_INT_H | 11 | #define DASD_INT_H |
12 | 12 | ||
13 | #ifdef __KERNEL__ | ||
14 | |||
15 | /* we keep old device allocation scheme; IOW, minors are still in 0..255 */ | 13 | /* we keep old device allocation scheme; IOW, minors are still in 0..255 */ |
16 | #define DASD_PER_MAJOR (1U << (MINORBITS - DASD_PARTN_BITS)) | 14 | #define DASD_PER_MAJOR (1U << (MINORBITS - DASD_PARTN_BITS)) |
17 | #define DASD_PARTN_MASK ((1 << DASD_PARTN_BITS) - 1) | 15 | #define DASD_PARTN_MASK ((1 << DASD_PARTN_BITS) - 1) |
@@ -791,6 +789,4 @@ static inline int dasd_eer_enabled(struct dasd_device *device) | |||
791 | #define dasd_eer_enabled(d) (0) | 789 | #define dasd_eer_enabled(d) (0) |
792 | #endif /* CONFIG_DASD_ERR */ | 790 | #endif /* CONFIG_DASD_ERR */ |
793 | 791 | ||
794 | #endif /* __KERNEL__ */ | ||
795 | |||
796 | #endif /* DASD_H */ | 792 | #endif /* DASD_H */ |
diff --git a/drivers/s390/char/sclp_sdias.c b/drivers/s390/char/sclp_sdias.c index 69e6c50d4cfb..50f7115990ff 100644 --- a/drivers/s390/char/sclp_sdias.c +++ b/drivers/s390/char/sclp_sdias.c | |||
@@ -211,7 +211,7 @@ int sclp_sdias_copy(void *dest, int start_blk, int nr_blks) | |||
211 | sccb.evbuf.event_qual = EQ_STORE_DATA; | 211 | sccb.evbuf.event_qual = EQ_STORE_DATA; |
212 | sccb.evbuf.data_id = DI_FCP_DUMP; | 212 | sccb.evbuf.data_id = DI_FCP_DUMP; |
213 | sccb.evbuf.event_id = 4712; | 213 | sccb.evbuf.event_id = 4712; |
214 | #ifdef __s390x__ | 214 | #ifdef CONFIG_64BIT |
215 | sccb.evbuf.asa_size = ASA_SIZE_64; | 215 | sccb.evbuf.asa_size = ASA_SIZE_64; |
216 | #else | 216 | #else |
217 | sccb.evbuf.asa_size = ASA_SIZE_32; | 217 | sccb.evbuf.asa_size = ASA_SIZE_32; |