Received: by 10.192.165.156 with SMTP id m28csp919363imm; Thu, 19 Apr 2018 09:39:22 -0700 (PDT) X-Google-Smtp-Source: AIpwx48DnrcqpgE1y52uZUyqG8y7n3YRt90zE1lBwxCTddQC8H8OZ/DLcY2IeurT6vgBTgqf6gNJ X-Received: by 2002:a17:902:aa03:: with SMTP id be3-v6mr6600242plb.299.1524155962313; Thu, 19 Apr 2018 09:39:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524155962; cv=none; d=google.com; s=arc-20160816; b=RRkeIe/Jd6kxSwhMNXRu6hg8ZtujqNIXYF1crs42UKidWe6p173yxq/T7jZXOA7vug yQ7JKMHyTVVXPnSWFNm7F5/s77CMGR8VLU9RLsKEbRMbhtq0wNBDW/TuUnJ5lz546eZ+ uQkA8HfXG2jPpempldiM4hwKE7M85Ci7S7vM49TiywkoPZXsjPtoIIzqQHi60SpZwCRq bMzNF7VQ+Xy/Y486XnRp95jLKke7xR8DART5H0HkIkrAOqV4AmZtigNQQtOL2fpxo4w2 Hs/5iRXBSSayo/Slju9MugEKHEvefBF17DFl3j94vtnhjLody3CJiJ3z8YDL2tO5l1qL EI9Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :organization:references:in-reply-to:date:cc:to:from:subject :message-id:arc-authentication-results; bh=8gTkehPWSM9TcqTSMRK1wJpf1IDhFYVEqDQNnjKextw=; b=lEFDpGlMzapLxRQhJFy07/R8i46yrDbFJtXcxb6uPyjG/7+vrKXI4aR2VjJ8z1EB8N 7rz7ksdpKCwW5+rSSlcr6PQVUfe70I7pIW8K865kkk4JO4e6ABr2kMn9OubjeFtT058Z ncd4x0l4O8hwg+roOkKLO4UlrN03x7z8zzuQbwP0qPHauIH+H16iUKnWkxbpr9WhwuCI iOz3vCOsAaZSJIH8h9EK1nk21cnBPZZC02NvkDC00F0S0+qynxvJe7CgockBpnFsebS3 gJ01znuQ/R5n/z/zpe7YDtjnyEWbqRlcR+PHiZEioJMRvECr2eKERvdOXmSmloYFykOf VLgA== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u9-v6si3868794plz.10.2018.04.19.09.39.07; Thu, 19 Apr 2018 09:39:22 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754098AbeDSQhd (ORCPT + 99 others); Thu, 19 Apr 2018 12:37:33 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:52506 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753806AbeDSQhb (ORCPT ); Thu, 19 Apr 2018 12:37:31 -0400 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 90B37400784B; Thu, 19 Apr 2018 16:37:30 +0000 (UTC) Received: from ovpn-126-62.rdu2.redhat.com (ovpn-126-62.rdu2.redhat.com [10.10.126.62]) by smtp.corp.redhat.com (Postfix) with ESMTP id 52FDC2026DFD; Thu, 19 Apr 2018 16:37:30 +0000 (UTC) Message-ID: <1524155850.3134.16.camel@redhat.com> Subject: Re: [PATCH v6 05/16] c6x: Switch to generic free_initrd_mem. From: Mark Salter To: Shea Levy , linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Aurelien Jacquiot , linux-c6x-dev@linux-c6x.org Date: Thu, 19 Apr 2018 12:37:30 -0400 In-Reply-To: <20180401145931.7932-5-shea@shealevy.com> References: <20180329113207.30674-1-shea@shealevy.com> <20180401145931.7932-1-shea@shealevy.com> <20180401145931.7932-5-shea@shealevy.com> Organization: Red Hat, Inc Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.78 on 10.11.54.4 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.6]); Thu, 19 Apr 2018 16:37:30 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.6]); Thu, 19 Apr 2018 16:37:30 +0000 (UTC) for IP:'10.11.54.4' DOMAIN:'int-mx04.intmail.prod.int.rdu2.redhat.com' HELO:'smtp.corp.redhat.com' FROM:'msalter@redhat.com' RCPT:'' Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, 2018-04-01 at 10:59 -0400, Shea Levy wrote: > The first patch in this series added a weakly-defined generic > implementation, which is functionally identical to the > architecture-specific one removed here. > > Series boot-tested on RISC-V (which now uses the generic > implementation) and x86_64 (which doesn't). > > Signed-off-by: Shea Levy > --- > arch/c6x/mm/init.c | 7 ------- > 1 file changed, 7 deletions(-) > > diff --git a/arch/c6x/mm/init.c b/arch/c6x/mm/init.c > index 4cc72b0d1c1d..a11cb657182a 100644 > --- a/arch/c6x/mm/init.c > +++ b/arch/c6x/mm/init.c > @@ -66,13 +66,6 @@ void __init mem_init(void) > mem_init_print_info(NULL); > } > > -#ifdef CONFIG_BLK_DEV_INITRD > -void __init free_initrd_mem(unsigned long start, unsigned long end) > -{ > - free_reserved_area((void *)start, (void *)end, -1, "initrd"); > -} > -#endif > - > void __init free_initmem(void) > { > free_initmem_default(-1); Acked-by: Mark Salter