diff options
Diffstat (limited to 'drivers/s390')
-rw-r--r-- | drivers/s390/block/dasd_devmap.c | 2 | ||||
-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/dasd_int.h | 2 | ||||
-rw-r--r-- | drivers/s390/scsi/zfcp_def.h | 6 | ||||
-rw-r--r-- | drivers/s390/scsi/zfcp_fsf.c | 2 |
6 files changed, 8 insertions, 8 deletions
diff --git a/drivers/s390/block/dasd_devmap.c b/drivers/s390/block/dasd_devmap.c index 17fdd8c9f740..cf28ccc57948 100644 --- a/drivers/s390/block/dasd_devmap.c +++ b/drivers/s390/block/dasd_devmap.c | |||
@@ -25,7 +25,7 @@ | |||
25 | 25 | ||
26 | #include "dasd_int.h" | 26 | #include "dasd_int.h" |
27 | 27 | ||
28 | kmem_cache_t *dasd_page_cache; | 28 | struct kmem_cache *dasd_page_cache; |
29 | EXPORT_SYMBOL_GPL(dasd_page_cache); | 29 | EXPORT_SYMBOL_GPL(dasd_page_cache); |
30 | 30 | ||
31 | /* | 31 | /* |
diff --git a/drivers/s390/block/dasd_eckd.c b/drivers/s390/block/dasd_eckd.c index 5ecea3e4fdef..fdaa471e845f 100644 --- a/drivers/s390/block/dasd_eckd.c +++ b/drivers/s390/block/dasd_eckd.c | |||
@@ -1215,7 +1215,7 @@ dasd_eckd_build_cp(struct dasd_device * device, struct request *req) | |||
1215 | dst = page_address(bv->bv_page) + bv->bv_offset; | 1215 | dst = page_address(bv->bv_page) + bv->bv_offset; |
1216 | if (dasd_page_cache) { | 1216 | if (dasd_page_cache) { |
1217 | char *copy = kmem_cache_alloc(dasd_page_cache, | 1217 | char *copy = kmem_cache_alloc(dasd_page_cache, |
1218 | SLAB_DMA | __GFP_NOWARN); | 1218 | GFP_DMA | __GFP_NOWARN); |
1219 | if (copy && rq_data_dir(req) == WRITE) | 1219 | if (copy && rq_data_dir(req) == WRITE) |
1220 | memcpy(copy + bv->bv_offset, dst, bv->bv_len); | 1220 | memcpy(copy + bv->bv_offset, dst, bv->bv_len); |
1221 | if (copy) | 1221 | if (copy) |
diff --git a/drivers/s390/block/dasd_fba.c b/drivers/s390/block/dasd_fba.c index 80926c548228..b857fd5893fd 100644 --- a/drivers/s390/block/dasd_fba.c +++ b/drivers/s390/block/dasd_fba.c | |||
@@ -308,7 +308,7 @@ dasd_fba_build_cp(struct dasd_device * device, struct request *req) | |||
308 | dst = page_address(bv->bv_page) + bv->bv_offset; | 308 | dst = page_address(bv->bv_page) + bv->bv_offset; |
309 | if (dasd_page_cache) { | 309 | if (dasd_page_cache) { |
310 | char *copy = kmem_cache_alloc(dasd_page_cache, | 310 | char *copy = kmem_cache_alloc(dasd_page_cache, |
311 | SLAB_DMA | __GFP_NOWARN); | 311 | GFP_DMA | __GFP_NOWARN); |
312 | if (copy && rq_data_dir(req) == WRITE) | 312 | if (copy && rq_data_dir(req) == WRITE) |
313 | memcpy(copy + bv->bv_offset, dst, bv->bv_len); | 313 | memcpy(copy + bv->bv_offset, dst, bv->bv_len); |
314 | if (copy) | 314 | if (copy) |
diff --git a/drivers/s390/block/dasd_int.h b/drivers/s390/block/dasd_int.h index 9f52004f6fc2..dc5dd509434d 100644 --- a/drivers/s390/block/dasd_int.h +++ b/drivers/s390/block/dasd_int.h | |||
@@ -474,7 +474,7 @@ extern struct dasd_profile_info_t dasd_global_profile; | |||
474 | extern unsigned int dasd_profile_level; | 474 | extern unsigned int dasd_profile_level; |
475 | extern struct block_device_operations dasd_device_operations; | 475 | extern struct block_device_operations dasd_device_operations; |
476 | 476 | ||
477 | extern kmem_cache_t *dasd_page_cache; | 477 | extern struct kmem_cache *dasd_page_cache; |
478 | 478 | ||
479 | struct dasd_ccw_req * | 479 | struct dasd_ccw_req * |
480 | dasd_kmalloc_request(char *, int, int, struct dasd_device *); | 480 | dasd_kmalloc_request(char *, int, int, struct dasd_device *); |
diff --git a/drivers/s390/scsi/zfcp_def.h b/drivers/s390/scsi/zfcp_def.h index 74c0eac083e4..32933ed54b8a 100644 --- a/drivers/s390/scsi/zfcp_def.h +++ b/drivers/s390/scsi/zfcp_def.h | |||
@@ -1032,9 +1032,9 @@ struct zfcp_data { | |||
1032 | wwn_t init_wwpn; | 1032 | wwn_t init_wwpn; |
1033 | fcp_lun_t init_fcp_lun; | 1033 | fcp_lun_t init_fcp_lun; |
1034 | char *driver_version; | 1034 | char *driver_version; |
1035 | kmem_cache_t *fsf_req_qtcb_cache; | 1035 | struct kmem_cache *fsf_req_qtcb_cache; |
1036 | kmem_cache_t *sr_buffer_cache; | 1036 | struct kmem_cache *sr_buffer_cache; |
1037 | kmem_cache_t *gid_pn_cache; | 1037 | struct kmem_cache *gid_pn_cache; |
1038 | }; | 1038 | }; |
1039 | 1039 | ||
1040 | /** | 1040 | /** |
diff --git a/drivers/s390/scsi/zfcp_fsf.c b/drivers/s390/scsi/zfcp_fsf.c index 277826cdd0c8..067f1519eb04 100644 --- a/drivers/s390/scsi/zfcp_fsf.c +++ b/drivers/s390/scsi/zfcp_fsf.c | |||
@@ -109,7 +109,7 @@ zfcp_fsf_req_alloc(mempool_t *pool, int req_flags) | |||
109 | ptr = kmalloc(size, GFP_ATOMIC); | 109 | ptr = kmalloc(size, GFP_ATOMIC); |
110 | else | 110 | else |
111 | ptr = kmem_cache_alloc(zfcp_data.fsf_req_qtcb_cache, | 111 | ptr = kmem_cache_alloc(zfcp_data.fsf_req_qtcb_cache, |
112 | SLAB_ATOMIC); | 112 | GFP_ATOMIC); |
113 | } | 113 | } |
114 | 114 | ||
115 | if (unlikely(!ptr)) | 115 | if (unlikely(!ptr)) |