linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] nds32: remove __virt_to_bus and __bus_to_virt
@ 2019-04-09 10:26 Christoph Hellwig
  2019-04-24  6:14 ` Christoph Hellwig
  0 siblings, 1 reply; 5+ messages in thread
From: Christoph Hellwig @ 2019-04-09 10:26 UTC (permalink / raw)
  To: green.hu, deanbo422; +Cc: linux-kernel

These macros are not used anywhere.

Signed-off-by: Christoph Hellwig <hch@lst.de>
---
 arch/nds32/include/asm/memory.h | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/arch/nds32/include/asm/memory.h b/arch/nds32/include/asm/memory.h
index 60efc726b56e..9d552ee39bdb 100644
--- a/arch/nds32/include/asm/memory.h
+++ b/arch/nds32/include/asm/memory.h
@@ -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
-- 
2.20.1


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH] nds32: remove __virt_to_bus and __bus_to_virt
  2019-04-09 10:26 [PATCH] nds32: remove __virt_to_bus and __bus_to_virt Christoph Hellwig
@ 2019-04-24  6:14 ` Christoph Hellwig
  2019-04-24  6:55   ` Greentime Hu
  0 siblings, 1 reply; 5+ messages in thread
From: Christoph Hellwig @ 2019-04-24  6:14 UTC (permalink / raw)
  To: green.hu, deanbo422; +Cc: linux-kernel

ping?

On Tue, Apr 09, 2019 at 12:26:54PM +0200, Christoph Hellwig wrote:
> These macros are not used anywhere.
> 
> Signed-off-by: Christoph Hellwig <hch@lst.de>
> ---
>  arch/nds32/include/asm/memory.h | 8 --------
>  1 file changed, 8 deletions(-)
> 
> diff --git a/arch/nds32/include/asm/memory.h b/arch/nds32/include/asm/memory.h
> index 60efc726b56e..9d552ee39bdb 100644
> --- a/arch/nds32/include/asm/memory.h
> +++ b/arch/nds32/include/asm/memory.h
> @@ -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
> -- 
> 2.20.1
---end quoted text---

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] nds32: remove __virt_to_bus and __bus_to_virt
  2019-04-24  6:14 ` Christoph Hellwig
@ 2019-04-24  6:55   ` Greentime Hu
  2019-04-24  8:36     ` Christoph Hellwig
  0 siblings, 1 reply; 5+ messages in thread
From: Greentime Hu @ 2019-04-24  6:55 UTC (permalink / raw)
  To: Christoph Hellwig; +Cc: Vincent Chen, Linux Kernel Mailing List

Christoph Hellwig <hch@lst.de> 於 2019年4月24日 週三 下午2:14寫道:
>
> ping?
>
> On Tue, Apr 09, 2019 at 12:26:54PM +0200, Christoph Hellwig wrote:
> > These macros are not used anywhere.
> >
> > Signed-off-by: Christoph Hellwig <hch@lst.de>
> > ---
> >  arch/nds32/include/asm/memory.h | 8 --------
> >  1 file changed, 8 deletions(-)
> >
> > diff --git a/arch/nds32/include/asm/memory.h b/arch/nds32/include/asm/memory.h
> > index 60efc726b56e..9d552ee39bdb 100644
> > --- a/arch/nds32/include/asm/memory.h
> > +++ b/arch/nds32/include/asm/memory.h
> > @@ -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
> > --

Hi Christoph,

Thank you.
Acked-by: Greentime Hu <greentime@andestech.com>

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] nds32: remove __virt_to_bus and __bus_to_virt
  2019-04-24  6:55   ` Greentime Hu
@ 2019-04-24  8:36     ` Christoph Hellwig
  2019-04-24  8:49       ` Greentime Hu
  0 siblings, 1 reply; 5+ messages in thread
From: Christoph Hellwig @ 2019-04-24  8:36 UTC (permalink / raw)
  To: Greentime Hu; +Cc: Christoph Hellwig, Vincent Chen, Linux Kernel Mailing List

On Wed, Apr 24, 2019 at 02:55:25PM +0800, Greentime Hu wrote:
> Hi Christoph,
> 
> Thank you.
> Acked-by: Greentime Hu <greentime@andestech.com>

Can you queue it up in the nds32 tree?

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] nds32: remove __virt_to_bus and __bus_to_virt
  2019-04-24  8:36     ` Christoph Hellwig
@ 2019-04-24  8:49       ` Greentime Hu
  0 siblings, 0 replies; 5+ messages in thread
From: Greentime Hu @ 2019-04-24  8:49 UTC (permalink / raw)
  To: Christoph Hellwig; +Cc: Vincent Chen, Linux Kernel Mailing List

Christoph Hellwig <hch@lst.de> 於 2019年4月24日 週三 下午4:36寫道:
>
> On Wed, Apr 24, 2019 at 02:55:25PM +0800, Greentime Hu wrote:
> > Hi Christoph,
> >
> > Thank you.
> > Acked-by: Greentime Hu <greentime@andestech.com>
>
> Can you queue it up in the nds32 tree?

Yes, I will put it in nds32-next branch. :)

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2019-04-24  8:49 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-09 10:26 [PATCH] nds32: remove __virt_to_bus and __bus_to_virt Christoph Hellwig
2019-04-24  6:14 ` Christoph Hellwig
2019-04-24  6:55   ` Greentime Hu
2019-04-24  8:36     ` Christoph Hellwig
2019-04-24  8:49       ` Greentime Hu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).