Skip to content

Commit 3a7f0ad

Browse files
skitttorvalds
authored andcommitted
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/[email protected] Signed-off-by: Stephen Kitt <[email protected]> Acked-by: Thomas Gleixner <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
1 parent fe6ba88 commit 3a7f0ad

File tree

4 files changed

+0
-9
lines changed
  • arch

4 files changed

+0
-9
lines changed

arch/alpha/include/asm/io.h

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -93,11 +93,6 @@ static inline void * phys_to_virt(unsigned long address)
9393

9494
#define page_to_phys(page) page_to_pa(page)
9595

96-
static inline dma_addr_t __deprecated isa_page_to_bus(struct page *page)
97-
{
98-
return page_to_phys(page);
99-
}
100-
10196
/* Maximum PIO space address supported? */
10297
#define IO_SPACE_LIMIT 0xffff
10398

arch/arm/include/asm/io.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@
3030
* ISA I/O bus memory addresses are 1:1 with the physical address.
3131
*/
3232
#define isa_virt_to_bus virt_to_phys
33-
#define isa_page_to_bus page_to_phys
3433
#define isa_bus_to_virt phys_to_virt
3534

3635
/*

arch/mips/include/asm/io.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,8 +149,6 @@ static inline void *isa_bus_to_virt(unsigned long address)
149149
return phys_to_virt(address);
150150
}
151151

152-
#define isa_page_to_bus page_to_phys
153-
154152
/*
155153
* However PCI ones are not necessarily 1:1 and therefore these interfaces
156154
* are forbidden in portable PCI drivers.

arch/x86/include/asm/io.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,6 @@ static inline unsigned int isa_virt_to_bus(volatile void *address)
165165
{
166166
return (unsigned int)virt_to_phys(address);
167167
}
168-
#define isa_page_to_bus(page) ((unsigned int)page_to_phys(page))
169168
#define isa_bus_to_virt phys_to_virt
170169

171170
/*

0 commit comments

Comments
 (0)