diff options
author | Sebastian Ott <sebott@linux.vnet.ibm.com> | 2016-01-22 07:57:34 -0500 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2016-01-26 06:45:33 -0500 |
commit | c2e1fcf3ec39de092e3e84b489b5c0cc39f6dd05 (patch) | |
tree | 0ddae1a0110b2a2fbbfcd2350bcaa366819d2fe9 | |
parent | 2d0f76a6ca1f2cdcffca7ce130f67ec61caa0999 (diff) |
s390/pci: adjust IOMAP_MAX_ENTRIES
ZPCI_IOMAP_MAX_ENTRIES is off by one. Let's adjust this
for the sake of correctness.
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>
-rw-r--r-- | arch/s390/include/asm/pci_io.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/s390/include/asm/pci_io.h b/arch/s390/include/asm/pci_io.h index 1a9a98de5bde..67f7ddd4617d 100644 --- a/arch/s390/include/asm/pci_io.h +++ b/arch/s390/include/asm/pci_io.h | |||
@@ -8,7 +8,7 @@ | |||
8 | #include <asm/pci_insn.h> | 8 | #include <asm/pci_insn.h> |
9 | 9 | ||
10 | /* I/O Map */ | 10 | /* I/O Map */ |
11 | #define ZPCI_IOMAP_MAX_ENTRIES 0x7fff | 11 | #define ZPCI_IOMAP_MAX_ENTRIES 0x8000 |
12 | #define ZPCI_IOMAP_ADDR_BASE 0x8000000000000000ULL | 12 | #define ZPCI_IOMAP_ADDR_BASE 0x8000000000000000ULL |
13 | #define ZPCI_IOMAP_ADDR_IDX_MASK 0x7fff000000000000ULL | 13 | #define ZPCI_IOMAP_ADDR_IDX_MASK 0x7fff000000000000ULL |
14 | #define ZPCI_IOMAP_ADDR_OFF_MASK 0x0000ffffffffffffULL | 14 | #define ZPCI_IOMAP_ADDR_OFF_MASK 0x0000ffffffffffffULL |