Drop unused isa_page_to_bus
Subsystems (4)
PATCH 1/1 Drop unused isa_page_to_bus
isa_page_to_bus is deprecated and no longer used anywhere, this patch removes it entirely.
Signed-off-by Stephen Kitt <[email protected]>
--- arch/alpha/include/asm/io.h | 5 ----- arch/arm/include/asm/io.h | 1 - arch/mips/include/asm/io.h | 2 -- arch/x86/include/asm/io.h | 1 - 4 files changed, 9 deletions(-)
arch/alpha/include/asm/io.h +0 -5
@@ -93,11 +93,6 @@ static inline void * phys_to_virt(unsigned long address)#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? */ #define IO_SPACE_LIMIT 0xffff
arch/arm/include/asm/io.h +0 -1
@@ -33,7 +33,6 @@* ISA I/O bus memory addresses are 1:1 with the physical address. */ #define isa_virt_to_bus virt_to_phys -#define isa_page_to_bus page_to_phys#define isa_bus_to_virt phys_to_virt/*
arch/mips/include/asm/io.h +0 -2
@@ -149,8 +149,6 @@ static inline void *isa_bus_to_virt(unsigned long 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 * are forbidden in portable PCI drivers.
arch/x86/include/asm/io.h +0 -1
@@ -165,7 +165,6 @@ static inline unsigned int isa_virt_to_bus(volatile void *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/*
Signature · 1 line
2.11.0
Quoted 4 lines · Stephen Kitt
isa_page_to_busis deprecated and no longer used anywhere, this patch removes it entirely.Signed-off-by Stephen Kitt <[email protected]>
Acked-by Thomas Gleixner <[email protected]>