diff options
author | Sebastian Ott <sebott@linux.vnet.ibm.com> | 2016-01-22 13:59:35 +0100 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2016-01-26 12:45:49 +0100 |
commit | bf19c94d5caa100f22c20d756c57e3550c01cdb8 (patch) | |
tree | 0fe9e0a29fddd2e083dea7ebbd141e8623abe677 /arch/s390/pci/pci.c | |
parent | 9e00caaea14b90a788c17a2e0c32108a3d7008ec (diff) | |
download | talos-obmc-linux-bf19c94d5caa100f22c20d756c57e3550c01cdb8.tar.gz talos-obmc-linux-bf19c94d5caa100f22c20d756c57e3550c01cdb8.zip |
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>
Diffstat (limited to 'arch/s390/pci/pci.c')
-rw-r--r-- | arch/s390/pci/pci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/s390/pci/pci.c b/arch/s390/pci/pci.c index 3942348317da..3627ae075f40 100644 --- a/arch/s390/pci/pci.c +++ b/arch/s390/pci/pci.c @@ -541,7 +541,7 @@ static void zpci_irq_exit(void) static int zpci_alloc_iomap(struct zpci_dev *zdev) { - int entry; + unsigned long entry; spin_lock(&zpci_iomap_lock); entry = find_first_zero_bit(zpci_iomap, ZPCI_IOMAP_MAX_ENTRIES); |