diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2014-12-12 06:46:35 -0500 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2015-01-08 04:02:47 -0500 |
commit | eba8452525e3fd0b982f78365dea8bd2ce11a20a (patch) | |
tree | d7d110151dc5a8edbc112908b95a3c0f89199100 /arch/s390 | |
parent | 58498ee3e573dc03be651b6839dbdf865ae7ee38 (diff) |
s390/pci: add missing address space annotation
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Diffstat (limited to 'arch/s390')
-rw-r--r-- | arch/s390/pci/pci_mmio.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/s390/pci/pci_mmio.c b/arch/s390/pci/pci_mmio.c index 62c5ea6d8682..8aa271b3d1ad 100644 --- a/arch/s390/pci/pci_mmio.c +++ b/arch/s390/pci/pci_mmio.c | |||
@@ -55,7 +55,7 @@ SYSCALL_DEFINE3(s390_pci_mmio_write, unsigned long, mmio_addr, | |||
55 | ret = get_pfn(mmio_addr, VM_WRITE, &pfn); | 55 | ret = get_pfn(mmio_addr, VM_WRITE, &pfn); |
56 | if (ret) | 56 | if (ret) |
57 | goto out; | 57 | goto out; |
58 | io_addr = (void *)((pfn << PAGE_SHIFT) | (mmio_addr & ~PAGE_MASK)); | 58 | io_addr = (void __iomem *)((pfn << PAGE_SHIFT) | (mmio_addr & ~PAGE_MASK)); |
59 | 59 | ||
60 | ret = -EFAULT; | 60 | ret = -EFAULT; |
61 | if ((unsigned long) io_addr < ZPCI_IOMAP_ADDR_BASE) | 61 | if ((unsigned long) io_addr < ZPCI_IOMAP_ADDR_BASE) |
@@ -96,7 +96,7 @@ SYSCALL_DEFINE3(s390_pci_mmio_read, unsigned long, mmio_addr, | |||
96 | ret = get_pfn(mmio_addr, VM_READ, &pfn); | 96 | ret = get_pfn(mmio_addr, VM_READ, &pfn); |
97 | if (ret) | 97 | if (ret) |
98 | goto out; | 98 | goto out; |
99 | io_addr = (void *)((pfn << PAGE_SHIFT) | (mmio_addr & ~PAGE_MASK)); | 99 | io_addr = (void __iomem *)((pfn << PAGE_SHIFT) | (mmio_addr & ~PAGE_MASK)); |
100 | 100 | ||
101 | ret = -EFAULT; | 101 | ret = -EFAULT; |
102 | if ((unsigned long) io_addr < ZPCI_IOMAP_ADDR_BASE) | 102 | if ((unsigned long) io_addr < ZPCI_IOMAP_ADDR_BASE) |