From: Sebastian Ott Date: Fri, 22 Jan 2016 12:57:34 +0000 (+0100) Subject: s390/pci: adjust IOMAP_MAX_ENTRIES X-Git-Tag: v4.5-rc2~17^2~10 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c2e1fcf3ec39de092e3e84b489b5c0cc39f6dd05;p=platform%2Fkernel%2Flinux-exynos.git 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 Reviewed-by: Gerald Schaefer Signed-off-by: Martin Schwidefsky --- diff --git a/arch/s390/include/asm/pci_io.h b/arch/s390/include/asm/pci_io.h index 1a9a98d..67f7ddd 100644 --- a/arch/s390/include/asm/pci_io.h +++ b/arch/s390/include/asm/pci_io.h @@ -8,7 +8,7 @@ #include /* I/O Map */ -#define ZPCI_IOMAP_MAX_ENTRIES 0x7fff +#define ZPCI_IOMAP_MAX_ENTRIES 0x8000 #define ZPCI_IOMAP_ADDR_BASE 0x8000000000000000ULL #define ZPCI_IOMAP_ADDR_IDX_MASK 0x7fff000000000000ULL #define ZPCI_IOMAP_ADDR_OFF_MASK 0x0000ffffffffffffULL