]> 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)
commit644cbf5e5e79d0ec66dd7b43fe23a146b1ef82ee
tree54d07327930ab0976c5aa1ee36281f07cd32c661
parent0a25ac9bc570778c5da910488b390bad780a62a1
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