Commit 3a7f0adf authored by Stephen Kitt's avatar Stephen Kitt Committed by Linus Torvalds

arch/*: remove unused isa_page_to_bus()

isa_page_to_bus() is deprecated and is no longer used anywhere.  Remove
it entirely.

Link: http://lkml.kernel.org/r/20190613161155.16946-1-steve@sk2.orgSigned-off-by: default avatarStephen Kitt <steve@sk2.org>
Acked-by: default avatarThomas Gleixner <tglx@linutronix.de>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent fe6ba88b
...@@ -93,11 +93,6 @@ static inline void * phys_to_virt(unsigned long address) ...@@ -93,11 +93,6 @@ static inline void * phys_to_virt(unsigned long address)
#define page_to_phys(page) page_to_pa(page) #define page_to_phys(page) page_to_pa(page)
static inline dma_addr_t __deprecated isa_page_to_bus(struct page *page)
{
return page_to_phys(page);
}
/* Maximum PIO space address supported? */ /* Maximum PIO space address supported? */
#define IO_SPACE_LIMIT 0xffff #define IO_SPACE_LIMIT 0xffff
......
...@@ -30,7 +30,6 @@ ...@@ -30,7 +30,6 @@
* ISA I/O bus memory addresses are 1:1 with the physical address. * ISA I/O bus memory addresses are 1:1 with the physical address.
*/ */
#define isa_virt_to_bus virt_to_phys #define isa_virt_to_bus virt_to_phys
#define isa_page_to_bus page_to_phys
#define isa_bus_to_virt phys_to_virt #define isa_bus_to_virt phys_to_virt
/* /*
......
...@@ -149,8 +149,6 @@ static inline void *isa_bus_to_virt(unsigned long address) ...@@ -149,8 +149,6 @@ static inline void *isa_bus_to_virt(unsigned long address)
return phys_to_virt(address); return phys_to_virt(address);
} }
#define isa_page_to_bus page_to_phys
/* /*
* However PCI ones are not necessarily 1:1 and therefore these interfaces * However PCI ones are not necessarily 1:1 and therefore these interfaces
* are forbidden in portable PCI drivers. * are forbidden in portable PCI drivers.
......
...@@ -165,7 +165,6 @@ static inline unsigned int isa_virt_to_bus(volatile void *address) ...@@ -165,7 +165,6 @@ static inline unsigned int isa_virt_to_bus(volatile void *address)
{ {
return (unsigned int)virt_to_phys(address); return (unsigned int)virt_to_phys(address);
} }
#define isa_page_to_bus(page) ((unsigned int)page_to_phys(page))
#define isa_bus_to_virt phys_to_virt #define isa_bus_to_virt phys_to_virt
/* /*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment