mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-20 19:23:57 +08:00
[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>
This commit is contained in:
parent
d0710c7c9e
commit
2f6c55fc31
@ -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.");
|
||||
|
Loading…
Reference in New Issue
Block a user