Re: [PATCH] nds32: remove __virt_to_bus and __bus_to_virt

From: Greentime Hu
Date: Wed Apr 24 2019 - 02:56:06 EST


Christoph Hellwig <hch@xxxxxx> æ 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@xxxxxx>
> > ---
> > 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@xxxxxxxxxxxxx>