Received: by 10.213.65.68 with SMTP id h4csp1528843imn; Sun, 1 Apr 2018 08:04:21 -0700 (PDT) X-Google-Smtp-Source: AIpwx48gWbP4DgvT/dsHY0IodZdBzenRfW3/KBW/uj/KLrSR62hCfX2/sRhuHQ9jIgMjwJllIUh8 X-Received: by 10.98.69.217 with SMTP id n86mr2986525pfi.41.1522595061283; Sun, 01 Apr 2018 08:04:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522595061; cv=none; d=google.com; s=arc-20160816; b=kUkdbVcLXKAlBwEYD0hHTgHXUInqmOXSNhWK+kBdfxG4Uv6r1gxDCcdEsowEsXdh9U OKyEd6Qd+C2w4urC4O1VCHUU3gcbsewKWAcoztS73EMJ+hRKS6lA7pgIVzZoY8QBVRih +mTbMbmm7qTl+q6ICVxP0ZsXTNRmSO91iKFEEO5OCGwux3/MGfnTiI9U8IuN/xL3gE3i eqQc6f39b7VSaGxx4X8OBLyobRiRZy8b9a/GwTbzLJn+zAR3s6FwsMEt6sJWX/lddsPV J3HCdtj5FzgUqmu8U3QgUdbeD/aXfi82at2V4aWZ25x5L5/H81VBT7MYts2k9EWMRIdY QC8Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=DG0HZY4+m/8P3t3e9AgUsHL8HAdPJo6nuX8wdLl9dcU=; b=vWD4TUi916/tuulfSZBS2qXYObniULQWI2Dw4mKL3uqatBJEfun5BQwSxUB8+WxLkE frySuIRHg1ry+ZizqGzehKdPas/ZlIsVUbjC++9OeZa9HsygpDvNLOl9ZoiRvogw8K7q pHtY2BPz20FMIs8Wageyj4yg58+pxqC3ZUQik7CYo7jTJ7sm79UnSnWXPJfc69NTC2ql AfAp7EY3sUH7X6BhA9tOothawfeoIOGNIwPSUQ71AADXfF7f5t/oW37XejeybHwzNZoe VAHLoERS+ZRSfjykK2uPg44yMS8kPEV/mr89sXYO6ahvbp7QOJwCipxZJj5nJ26w7t9d 6Tbw== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v45si8501736pgn.379.2018.04.01.08.04.07; Sun, 01 Apr 2018 08:04:21 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753677AbeDAPA2 (ORCPT + 99 others); Sun, 1 Apr 2018 11:00:28 -0400 Received: from smtprelay0251.hostedemail.com ([216.40.44.251]:45524 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753638AbeDAPAY (ORCPT ); Sun, 1 Apr 2018 11:00:24 -0400 Received: from filter.hostedemail.com (clb03-v110.bra.tucows.net [216.40.38.60]) by smtprelay07.hostedemail.com (Postfix) with ESMTP id CCEFE181D3368; Sun, 1 Apr 2018 15:00:23 +0000 (UTC) X-Session-Marker: 7368656140736865616C6576792E636F6D X-Spam-Summary: 2,0,0,,d41d8cd98f00b204,,:::::,RULES_HIT:41:69:355:379:541:800:960:965:966:968:973:988:989:1260:1345:1359:1437:1534:1541:1711:1730:1747:1777:1792:1978:1981:2194:2196:2199:2200:2282:2393:2559:2562:3138:3139:3140:3141:3142:3352:3865:3867:3868:3870:3871:4385:4390:4395:5007:6261:9592:10004:10848:11026:11473:11658:11914:12043:12291:12438:12555:12683:12895:13069:13161:13229:13311:13357:14096:14181:14384:14394:14721:21080:21627:30054,0,RBL:71.235.10.46:@shealevy.com:.lbl8.mailshell.net-62.4.0.191 64.201.201.201,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:ff,MSBL:0,DNSBL:neutral,Custom_rules:0:0:0,LFtime:1,LUA_SUMMARY:none X-HE-Tag: metal55_77ae802c7b82a X-Filterd-Recvd-Size: 1735 Received: from localhost (c-71-235-10-46.hsd1.nh.comcast.net [71.235.10.46]) (Authenticated sender: shea@shealevy.com) by omf04.hostedemail.com (Postfix) with ESMTPA; Sun, 1 Apr 2018 15:00:22 +0000 (UTC) From: Shea Levy To: linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Shea Levy Subject: [PATCH v6 08/16] m32r: Switch to generic free_initrd_mem. Date: Sun, 1 Apr 2018 10:59:22 -0400 Message-Id: <20180401145931.7932-8-shea@shealevy.com> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180401145931.7932-1-shea@shealevy.com> References: <20180329113207.30674-1-shea@shealevy.com> <20180401145931.7932-1-shea@shealevy.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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/m32r/mm/init.c | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/arch/m32r/mm/init.c b/arch/m32r/mm/init.c index 93abc8c3a46e..e2b5f09209ee 100644 --- a/arch/m32r/mm/init.c +++ b/arch/m32r/mm/init.c @@ -139,14 +139,3 @@ void free_initmem(void) { free_initmem_default(-1); } - -#ifdef CONFIG_BLK_DEV_INITRD -/*======================================================================* - * free_initrd_mem() : - * orig : arch/sh/mm/init.c - *======================================================================*/ -void free_initrd_mem(unsigned long start, unsigned long end) -{ - free_reserved_area((void *)start, (void *)end, -1, "initrd"); -} -#endif -- 2.16.2