s390/pci: improve ZPCI_* macros
authorSebastian Ott <sebott@linux.vnet.ibm.com>
Fri, 22 Jan 2016 12:59:35 +0000 (13:59 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Tue, 26 Jan 2016 11:45:49 +0000 (12:45 +0100)
commitbf19c94d5caa100f22c20d756c57e3550c01cdb8
tree0fe9e0a29fddd2e083dea7ebbd141e8623abe677
parent9e00caaea14b90a788c17a2e0c32108a3d7008ec
s390/pci: improve ZPCI_* macros

Most of the constants defined in pci_io.h depend on each other
and thus can be calculated.

Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Reviewed-by: Gerald Schaefer <gerald.schaefer@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/include/asm/pci_io.h
arch/s390/pci/pci.c