diff options
Diffstat (limited to 'drivers/s390/block/dasd_diag.h')
-rw-r--r-- | drivers/s390/block/dasd_diag.h | 6 |
1 files changed, 3 insertions, 3 deletions
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 */ |