projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2d0f76a
)
s390/pci: adjust IOMAP_MAX_ENTRIES
author
Sebastian Ott
<
[email protected]
>
Fri, 22 Jan 2016 12:57:34 +0000
(13:57 +0100)
committer
Martin Schwidefsky
<
[email protected]
>
Tue, 26 Jan 2016 11:45:33 +0000
(12:45 +0100)
ZPCI_IOMAP_MAX_ENTRIES is off by one. Let's adjust this
for the sake of correctness.
Signed-off-by: Sebastian Ott <
[email protected]
>
Reviewed-by: Gerald Schaefer <
[email protected]
>
Signed-off-by: Martin Schwidefsky <
[email protected]
>
arch/s390/include/asm/pci_io.h
patch
|
blob
|
history
diff --git
a/arch/s390/include/asm/pci_io.h
b/arch/s390/include/asm/pci_io.h
index 1a9a98de5bdebc346c469f55818f08ed33b576e7..67f7ddd4617db2d32250a8283e5ed63b2f730e9d 100644
(file)
--- a/
arch/s390/include/asm/pci_io.h
+++ b/
arch/s390/include/asm/pci_io.h
@@
-8,7
+8,7
@@
#include <asm/pci_insn.h>
/* I/O Map */
-#define ZPCI_IOMAP_MAX_ENTRIES 0x
7fff
+#define ZPCI_IOMAP_MAX_ENTRIES 0x
8000
#define ZPCI_IOMAP_ADDR_BASE 0x8000000000000000ULL
#define ZPCI_IOMAP_ADDR_IDX_MASK 0x7fff000000000000ULL
#define ZPCI_IOMAP_ADDR_OFF_MASK 0x0000ffffffffffffULL