+ drop-unused-isa_page_to_bus.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     Subject: arch/*: remove unused isa_page_to_bus()
has been added to the -mm tree.  Its filename is
     drop-unused-isa_page_to_bus.patch

This patch should soon appear at
    http://ozlabs.org/~akpm/mmots/broken-out/drop-unused-isa_page_to_bus.patch
and later at
    http://ozlabs.org/~akpm/mmotm/broken-out/drop-unused-isa_page_to_bus.patch

Before you just go and hit "reply", please:
   a) Consider who else should be cc'ed
   b) Prefer to cc a suitable mailing list as well
   c) Ideally: find the original patch on the mailing list and do a
      reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/process/submit-checklist.rst when testing your code ***

The -mm tree is included into linux-next and is updated
there every 3-4 working days

------------------------------------------------------
From: Stephen Kitt <steve@xxxxxxx>
Subject: 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@xxxxxxx
Signed-off-by: Stephen Kitt <steve@xxxxxxx>
Acked-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 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(-)

--- a/arch/alpha/include/asm/io.h~drop-unused-isa_page_to_bus
+++ a/arch/alpha/include/asm/io.h
@@ -93,11 +93,6 @@ static inline void * phys_to_virt(unsign
 
 #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
 
--- a/arch/arm/include/asm/io.h~drop-unused-isa_page_to_bus
+++ a/arch/arm/include/asm/io.h
@@ -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
 
 /*
--- a/arch/mips/include/asm/io.h~drop-unused-isa_page_to_bus
+++ a/arch/mips/include/asm/io.h
@@ -149,8 +149,6 @@ static inline void *isa_bus_to_virt(unsi
 	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.
--- a/arch/x86/include/asm/io.h~drop-unused-isa_page_to_bus
+++ a/arch/x86/include/asm/io.h
@@ -165,7 +165,6 @@ static inline unsigned int isa_virt_to_b
 {
 	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
 
 /*
_

Patches currently in -mm which might be from steve@xxxxxxx are

drop-unused-isa_page_to_bus.patch




[Index of Archives]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux