[S390] qdio: make sure data structures are correctly aligned.
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Fri, 10 Aug 2007 12:32:28 +0000 (14:32 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Fri, 10 Aug 2007 12:32:36 +0000 (14:32 +0200)
commitc6d0e8014a59b641c0669cf5df151667144f220e
treeac16722d835e946e05266ed2208c1cba30c3260d
parentb01af5ba9105094ba4f1af60da8f7be44321a0c7
[S390] qdio: make sure data structures are correctly aligned.

The slsb structure contained at the beginning of the qdio_q structure
must start on a 256 byte boundary. To make sure this is the case even
if slab debugging is turned on create an own slab cache for qdio_q
structures.
Besides that don't use the slab allocator to allocate whole pages. Use
the page allocator instead.
Also fix a few memory leaks in error handling code.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/cio/qdio.c