diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2006-10-04 14:02:23 -0400 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2006-10-04 14:02:23 -0400 |
commit | 0b2b6e1ddce4696cb7afcbb15a654fe95428a498 (patch) | |
tree | a6dd837de5ce7088ab1009d125e8bcd6cfeaa1e1 /include/asm-s390/io.h | |
parent | 7676bef9c183fd573822cac9992927ef596d584c (diff) |
[S390] Remove open-coded mem_map usage.
Use page_to_phys and pfn_to_page to avoid open-coded mem_map usage.
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Diffstat (limited to 'include/asm-s390/io.h')
-rw-r--r-- | include/asm-s390/io.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/asm-s390/io.h b/include/asm-s390/io.h index 63c78b9399c4..efb7de9c1c6b 100644 --- a/include/asm-s390/io.h +++ b/include/asm-s390/io.h | |||
@@ -45,11 +45,6 @@ static inline void * phys_to_virt(unsigned long address) | |||
45 | return __io_virt(address); | 45 | return __io_virt(address); |
46 | } | 46 | } |
47 | 47 | ||
48 | /* | ||
49 | * Change "struct page" to physical address. | ||
50 | */ | ||
51 | #define page_to_phys(page) ((page - mem_map) << PAGE_SHIFT) | ||
52 | |||
53 | extern void * __ioremap(unsigned long offset, unsigned long size, unsigned long flags); | 48 | extern void * __ioremap(unsigned long offset, unsigned long size, unsigned long flags); |
54 | 49 | ||
55 | static inline void * ioremap (unsigned long offset, unsigned long size) | 50 | static inline void * ioremap (unsigned long offset, unsigned long size) |