]> git.baikalelectronics.ru Git - kernel.git/commit
s390/cio: introduce pathmask_to_pos
authorSebastian Ott <sebott@linux.vnet.ibm.com>
Mon, 21 Sep 2015 16:40:33 +0000 (18:40 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 14 Oct 2015 12:32:04 +0000 (14:32 +0200)
commit2b59308657340f9f74751e16bdcfd78d8094c6d9
tree54d07327930ab0976c5aa1ee36281f07cd32c661
parenta7fd582ec2b29b735e50b6da147621bf9cee9612
s390/cio: introduce pathmask_to_pos

We often need to correlate an 8 bit path mask with the position
in a channel path array. Introduce and use pathmask_to_pos for
that task.

Reviewed-by: Peter Oberparleiter <oberpar@linux.vnet.ibm.com>
Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/include/asm/cio.h
drivers/s390/block/dasd_eckd.c
drivers/s390/cio/device_pgid.c