Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp1714330ybb; Sat, 21 Mar 2020 04:23:44 -0700 (PDT) X-Google-Smtp-Source: ADFU+vsSUAHQ3HaoM5IJyIcAYUvtIhToSr932q+rC+po5P36O11bnfhN0+vAPRKp1vaffOaZi9+v X-Received: by 2002:a9d:58cb:: with SMTP id s11mr11013581oth.34.1584789824294; Sat, 21 Mar 2020 04:23:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584789824; cv=none; d=google.com; s=arc-20160816; b=nIKxJxosHlMsvHCktwKiiPmyzQJbbNwZhaEBjsSL/QTdjRf+xA8N8LAtanhFSVqs9O b50xSmZ2n5tO8WiS7msGDvO8BHzT064e11dspwxFjbUAWVPBWcojZjlFxXpDa0kwY32s j31mmif7f+qz09zHH2RBEMdZeE6skwj4IewlDXvSI/sbbp8awTWJgVFySGgxfQm1ma9C NDO7YsLfBnrw74cCHfnBX8AxIy7XFv7ozAEsowglNVx+MLLJWgREFm/An0p0/ZdpHVyS DcIMojdFM8RO8p2xOF7Ghv8MPK134+0U0NJtiqxGPEvH344X2/7BI5Kk8oJkpjouQita QbJA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=fxYqA4lZgTRLmJP6KKBOgeGvFLyuzk+IeJuQGQep6zo=; b=kLOdW1JMvsFl8p3A9SeZyxbhw/3H40KuWx+P0mE5/YXJbEzzYIpRzax1KNPgaIrXK9 khNkOZfBUfAlrh+CyN/9WamKeSsi+0AYKgXAPWH3uQ1QNJcgZBJpc+f1Xgv/gXKfjMRo szssjDWh9xUgaYFg67DVo4mPq5In8n1uF+qjSOw9W9JaaaI5GMFmuFicg8MGdhZTnoAS q8HUsGjyQ59eSJXf64Siv2GRMFh7ivvM6+2DXj8i0IAtxIBfrEtrESA/dOK4sTipM3G5 7uehUZGWfmscjkWVDu17QLqrFGLpV3cPayr4ePuCCKeT4W9pAe1O/ZIEEH93NEsQzyed kvww== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=Mj+1sA3q; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k25si526888oik.162.2020.03.21.04.23.33; Sat, 21 Mar 2020 04:23:44 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=Mj+1sA3q; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727212AbgCULXH (ORCPT + 99 others); Sat, 21 Mar 2020 07:23:07 -0400 Received: from mail.kernel.org ([198.145.29.99]:41692 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725932AbgCULXG (ORCPT ); Sat, 21 Mar 2020 07:23:06 -0400 Received: from mail-lf1-f44.google.com (mail-lf1-f44.google.com [209.85.167.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id B757820786; Sat, 21 Mar 2020 11:23:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1584789786; bh=IrN8hft8egtKt9q2QCIAHGIVjoG+tI0cY9ujDNwCIRg=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=Mj+1sA3qyTxHp4YDj2Lx/59ZyUJ6tpiQZUSLPF2MWhNCRYMQZnERYuq6ABUR5x6BE /fVXmUcRPtXRAKSKXitqslhPV6JtoMIkZniWk8DTOB76ldBL5JAuRNM678vK3NAUWR NPP+qXQ9mlI1PByJeUo1B36mZPwxwrXc24YsziYY= Received: by mail-lf1-f44.google.com with SMTP id a28so6506847lfr.13; Sat, 21 Mar 2020 04:23:05 -0700 (PDT) X-Gm-Message-State: ANhLgQ0B145zTVE/GqZrLfVhDEQPtYbfr0QKebp+UiwPgZX4f4HxlKcS 0CZwQxij7YABmKaIvkI+xGD25QpoJHRXzj0nZko= X-Received: by 2002:a19:4f10:: with SMTP id d16mr6800457lfb.52.1584789783795; Sat, 21 Mar 2020 04:23:03 -0700 (PDT) MIME-Version: 1.0 References: <20200318044702.104793-1-wenhu.wang@vivo.com> In-Reply-To: <20200318044702.104793-1-wenhu.wang@vivo.com> From: Guo Ren Date: Sat, 21 Mar 2020 19:22:52 +0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] csky: delete redundant micro io_remap_pfn_range To: Wang Wenhu Cc: Will Deacon , Thomas Gleixner , Andrew Morton , Mike Rapoport , linux-csky@vger.kernel.org, Linux Kernel Mailing List , kernel@vivo.com, trivial@kernel.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Thx Acked and queued. On Wed, Mar 18, 2020 at 12:47 PM 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 > --- > 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 > > #endif /* __ASM_CSKY_PGTABLE_H */ > -- > 2.17.1 > -- Best Regards Guo Ren ML: https://lore.kernel.org/linux-csky/