diff options
Diffstat (limited to 'arch/s390/include/asm/io.h')
-rw-r--r-- | arch/s390/include/asm/io.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/arch/s390/include/asm/io.h b/arch/s390/include/asm/io.h index b7ff6afc3caa..27216d317991 100644 --- a/arch/s390/include/asm/io.h +++ b/arch/s390/include/asm/io.h | |||
@@ -38,11 +38,8 @@ static inline void * phys_to_virt(unsigned long address) | |||
38 | return (void *) address; | 38 | return (void *) address; |
39 | } | 39 | } |
40 | 40 | ||
41 | /* | 41 | void *xlate_dev_mem_ptr(unsigned long phys); |
42 | * Convert a physical pointer to a virtual kernel pointer for /dev/mem | 42 | void unxlate_dev_mem_ptr(unsigned long phys, void *addr); |
43 | * access | ||
44 | */ | ||
45 | #define xlate_dev_mem_ptr(p) __va(p) | ||
46 | 43 | ||
47 | /* | 44 | /* |
48 | * Convert a virtual cached pointer to an uncached pointer | 45 | * Convert a virtual cached pointer to an uncached pointer |