s390/cio: use kmem_cache for extended measurement block allocation
authorSebastian Ott <sebott@linux.vnet.ibm.com>
Mon, 7 Sep 2015 17:53:01 +0000 (19:53 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 14 Oct 2015 12:32:04 +0000 (14:32 +0200)
commit45bf4b96e6aea81594e510fe5cd10190ff4e6cb1
tree2c3e886bb15514cbc29d0bfb5948c8a6dbbdee48
parenta5e9ca573b5fe47aef30e9c33c31b5fe7b0dfb88
s390/cio: use kmem_cache for extended measurement block allocation

Extended measurement blocks need to be 64 byte aligned. To achieve that
128 bytes for each measurement block are allocated and an align callback
returns a 64 byte aligned address inside this area.

Replace this code with kmem_cache allocations.

Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Reviewed-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/cio/cmf.c