diff options
Diffstat (limited to 'arch/s390/include/asm/io.h')
-rw-r--r-- | arch/s390/include/asm/io.h | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/arch/s390/include/asm/io.h b/arch/s390/include/asm/io.h index cd6b9ee7b69c..6ad9013c67e7 100644 --- a/arch/s390/include/asm/io.h +++ b/arch/s390/include/asm/io.h | |||
@@ -13,9 +13,10 @@ | |||
13 | #include <asm/page.h> | 13 | #include <asm/page.h> |
14 | #include <asm/pci_io.h> | 14 | #include <asm/pci_io.h> |
15 | 15 | ||
16 | void *xlate_dev_mem_ptr(unsigned long phys); | ||
17 | #define xlate_dev_mem_ptr xlate_dev_mem_ptr | 16 | #define xlate_dev_mem_ptr xlate_dev_mem_ptr |
18 | void unxlate_dev_mem_ptr(unsigned long phys, void *addr); | 17 | void *xlate_dev_mem_ptr(phys_addr_t phys); |
18 | #define unxlate_dev_mem_ptr unxlate_dev_mem_ptr | ||
19 | void unxlate_dev_mem_ptr(phys_addr_t phys, void *addr); | ||
19 | 20 | ||
20 | /* | 21 | /* |
21 | * Convert a virtual cached pointer to an uncached pointer | 22 | * Convert a virtual cached pointer to an uncached pointer |
@@ -60,11 +61,6 @@ static inline void iounmap(volatile void __iomem *addr) | |||
60 | #define __raw_writel zpci_write_u32 | 61 | #define __raw_writel zpci_write_u32 |
61 | #define __raw_writeq zpci_write_u64 | 62 | #define __raw_writeq zpci_write_u64 |
62 | 63 | ||
63 | #define readb_relaxed readb | ||
64 | #define readw_relaxed readw | ||
65 | #define readl_relaxed readl | ||
66 | #define readq_relaxed readq | ||
67 | |||
68 | #endif /* CONFIG_PCI */ | 64 | #endif /* CONFIG_PCI */ |
69 | 65 | ||
70 | #include <asm-generic/io.h> | 66 | #include <asm-generic/io.h> |