All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mike Rapoport <rppt@linux.ibm.com>
To: Wang Wenhu <wenhu.wang@vivo.com>
Cc: Guo Ren <guoren@kernel.org>, Will Deacon <will@kernel.org>,
	Thomas Gleixner <tglx@linutronix.de>,
	Andrew Morton <akpm@linux-foundation.org>,
	linux-csky@vger.kernel.org, linux-kernel@vger.kernel.org,
	kernel@vivo.com, trivial@kernel.org
Subject: Re: [PATCH] csky: delete redundant micro io_remap_pfn_range
Date: Wed, 18 Mar 2020 09:36:22 +0200	[thread overview]
Message-ID: <20200318073622.GB17919@linux.ibm.com> (raw)
In-Reply-To: <20200318044702.104793-1-wenhu.wang@vivo.com>

On Tue, Mar 17, 2020 at 09:47:01PM -0700, Wang Wenhu wrote:
> Same definition exists in "include/asm-generic/pgtable.h",
> which is included just below the lines to be deleted.
> 
> #ifndef io_remap_pfn_range
> #define io_remap_pfn_range remap_pfn_range
> #endif
> 
> Signed-off-by: Wang Wenhu <wenhu.wang@vivo.com>

Acked-by: Mike Rapoport <rppt@linux.ibm.com>

> ---
>  arch/csky/include/asm/pgtable.h | 3 ---
>  1 file changed, 3 deletions(-)
> 
> diff --git a/arch/csky/include/asm/pgtable.h b/arch/csky/include/asm/pgtable.h
> index 9b7764cb7645..bde812a785c8 100644
> --- a/arch/csky/include/asm/pgtable.h
> +++ b/arch/csky/include/asm/pgtable.h
> @@ -306,9 +306,6 @@ void update_mmu_cache(struct vm_area_struct *vma, unsigned long address,
>  /* Needs to be defined here and not in linux/mm.h, as it is arch dependent */
>  #define kern_addr_valid(addr)	(1)
>  
> -#define io_remap_pfn_range(vma, vaddr, pfn, size, prot) \
> -	remap_pfn_range(vma, vaddr, pfn, size, prot)
> -
>  #include <asm-generic/pgtable.h>
>  
>  #endif /* __ASM_CSKY_PGTABLE_H */
> -- 
> 2.17.1
> 

-- 
Sincerely yours,
Mike.


  reply	other threads:[~2020-03-18  7:36 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-18  4:47 [PATCH] csky: delete redundant micro io_remap_pfn_range Wang Wenhu
2020-03-18  7:36 ` Mike Rapoport [this message]
2020-03-21 11:22 ` Guo Ren

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200318073622.GB17919@linux.ibm.com \
    --to=rppt@linux.ibm.com \
    --cc=akpm@linux-foundation.org \
    --cc=guoren@kernel.org \
    --cc=kernel@vivo.com \
    --cc=linux-csky@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=tglx@linutronix.de \
    --cc=trivial@kernel.org \
    --cc=wenhu.wang@vivo.com \
    --cc=will@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.