From 0b2b6e1ddce4696cb7afcbb15a654fe95428a498 Mon Sep 17 00:00:00 2001 From: Heiko Carstens Date: Wed, 4 Oct 2006 20:02:23 +0200 Subject: [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 --- include/asm-s390/io.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'include/asm-s390/io.h') diff --git a/include/asm-s390/io.h b/include/asm-s390/io.h index 63c78b9..efb7de9 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) return __io_virt(address); } -/* - * Change "struct page" to physical address. - */ -#define page_to_phys(page) ((page - mem_map) << PAGE_SHIFT) - extern void * __ioremap(unsigned long offset, unsigned long size, unsigned long flags); static inline void * ioremap (unsigned long offset, unsigned long size) -- cgit v1.1