aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorHeiko Carstens <heiko.carstens@de.ibm.com>2006-08-16 07:49:27 -0400
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2006-08-16 07:49:27 -0400
commit2f6c55fc3109bcfa1bb1a112c825e07212c20f37 (patch)
tree9ad93064df1939b5167b1240384da368c7eae410 /drivers
parentd0710c7c9eea2145a0614f39dbe9dc8cb4ae14da (diff)
[S390] dasd slab cache alignment.
The dasd_page_cache should return page addresses and therefore the cache must be created with an alignment of PAGE_SIZE. Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/s390/block/dasd_devmap.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/s390/block/dasd_devmap.c b/drivers/s390/block/dasd_devmap.c
index 6fcb28d55a9d..29e48b2ab712 100644
--- a/drivers/s390/block/dasd_devmap.c
+++ b/drivers/s390/block/dasd_devmap.c
@@ -264,8 +264,9 @@ dasd_parse_keyword( char *parsestring ) {
264 if (dasd_page_cache) 264 if (dasd_page_cache)
265 return residual_str; 265 return residual_str;
266 dasd_page_cache = 266 dasd_page_cache =
267 kmem_cache_create("dasd_page_cache", PAGE_SIZE, 0, 267 kmem_cache_create("dasd_page_cache", PAGE_SIZE,
268 SLAB_CACHE_DMA, NULL, NULL ); 268 PAGE_SIZE, SLAB_CACHE_DMA,
269 NULL, NULL );
269 if (!dasd_page_cache) 270 if (!dasd_page_cache)
270 MESSAGE(KERN_WARNING, "%s", "Failed to create slab, " 271 MESSAGE(KERN_WARNING, "%s", "Failed to create slab, "
271 "fixed buffer mode disabled."); 272 "fixed buffer mode disabled.");