Skip to contentSkip to conversation

nds32: remove __virt_to_bus and __bus_to_virt

PATCH In review Christoph Hellwig 2 participants 5 messages Apr 9, 2019 – Apr 24, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 nds32: remove __virt_to_bus and __bus_to_virt

These macros are not used anywhere.

---
 arch/nds32/include/asm/memory.h | 8 --------
 1 file changed, 8 deletions(-)
arch/nds32/include/asm/memory.h +0 -8
index 60efc726b56e..9d552ee39bdb 100644
@@ -15,14 +15,6 @@
 #define PHYS_OFFSET     (0x0)
 #endif
 
-#ifndef __virt_to_bus
-#define __virt_to_bus	__virt_to_phys
-#endif
-
-#ifndef __bus_to_virt
-#define __bus_to_virt	__phys_to_virt
-#endif
-
 /*
  * TASK_SIZE - the maximum size of a user space task.
  * TASK_UNMAPPED_BASE - the lower boundary of the mmap VM area
Signature · 1 line
2.20.1
#1 lore raw

ping?

Quoted 28 lines · Christoph Hellwig

These macros are not used anywhere.

---
 arch/nds32/include/asm/memory.h | 8 --------
 1 file changed, 8 deletions(-)
arch/nds32/include/asm/memory.h +0 -8
index 60efc726b56e..9d552ee39bdb 100644
@@ -15,14 +15,6 @@
 #define PHYS_OFFSET     (0x0)
 #endif
 
-#ifndef __virt_to_bus
-#define __virt_to_bus	__virt_to_phys
-#endif
-
-#ifndef __bus_to_virt
-#define __bus_to_virt	__phys_to_virt
-#endif
-
 /*
  * TASK_SIZE - the maximum size of a user space task.
  * TASK_UNMAPPED_BASE - the lower boundary of the mmap VM area
Signature · 1 line
2.20.1

---end quoted text---

Acked-by
#2 lore raw

Christoph Hellwig <[email protected]> 於 2019年4月24日 週三 下午2:14寫道:

Quoted 19 lines

ping?

Quoted 15 lines · Christoph Hellwig

These macros are not used anywhere.

---
 arch/nds32/include/asm/memory.h | 8 --------
 1 file changed, 8 deletions(-)
arch/nds32/include/asm/memory.h +0 -0
index 60efc726b56e..9d552ee39bdb 100644
@@ -15,14 +15,6 @@
 #define PHYS_OFFSET     (0x0)
 #endif
 
Quoted 12 lines

arch/nds32/include/asm/memory.h

Quoted 12 lines
arch/nds32/include/asm/memory.h +0 -9
-#ifndef __virt_to_bus
-#define __virt_to_bus        __virt_to_phys
-#endif
-
-#ifndef __bus_to_virt
-#define __bus_to_virt        __phys_to_virt
-#endif
-
 /*
  * TASK_SIZE - the maximum size of a user space task.
  * TASK_UNMAPPED_BASE - the lower boundary of the mmap VM area
--

Hi Christoph,

Thank you.