diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2006-08-16 13:49:27 +0200 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2006-08-16 13:49:27 +0200 |
commit | 2f6c55fc3109bcfa1bb1a112c825e07212c20f37 (patch) | |
tree | 9ad93064df1939b5167b1240384da368c7eae410 /drivers/s390/block | |
parent | d0710c7c9eea2145a0614f39dbe9dc8cb4ae14da (diff) | |
download | talos-obmc-linux-2f6c55fc3109bcfa1bb1a112c825e07212c20f37.tar.gz talos-obmc-linux-2f6c55fc3109bcfa1bb1a112c825e07212c20f37.zip |
[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/s390/block')
-rw-r--r-- | drivers/s390/block/dasd_devmap.c | 5 |
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 ) { if (dasd_page_cache) return residual_str; dasd_page_cache = - kmem_cache_create("dasd_page_cache", PAGE_SIZE, 0, - SLAB_CACHE_DMA, NULL, NULL ); + kmem_cache_create("dasd_page_cache", PAGE_SIZE, + PAGE_SIZE, SLAB_CACHE_DMA, + NULL, NULL ); if (!dasd_page_cache) MESSAGE(KERN_WARNING, "%s", "Failed to create slab, " "fixed buffer mode disabled."); |