Received: by 10.213.65.68 with SMTP id h4csp829506imn; Wed, 28 Mar 2018 13:39:36 -0700 (PDT) X-Google-Smtp-Source: AIpwx49NG9pxEjHxam0PLZ5FlnphdkNjNDpBFgOGj4IiBOmsBFLMINTUL/i1/8PGjHHkiAUOnPtj X-Received: by 2002:a17:902:8f97:: with SMTP id z23-v6mr5279992plo.162.1522269576675; Wed, 28 Mar 2018 13:39:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522269576; cv=none; d=google.com; s=arc-20160816; b=SHLD/YpzmqCn/xTfy3mn24ckQHvxszuPbCPgtmXbHGQHT1fm6vJuUptUKCyTZ9kjV2 cxRMAzG1dHk6RHJ4IITY5ij2iVvHDH1t9FgFXQti2ns0pc0adX9nKiXz3TpOWBPTKIXn i/XjrKRC3xFIcCe7HfOihhDEwFKDRZZ5ADDcwnwdr8FQ/AkxE+7SvEmzRC/ql6YGPVxJ XO58kKf2IOUQoF9wmXR/Z0DAcju7cswe/B491JQNW8tsht1zv1PYMwr4Vms9mjbuBCXm 4B5oJl8Cl6T/7c9G/mULraRYbrP0jrNvi+hsg49ybYwKhePXQGRcgPFqBhJWTvOO/NOL 5Rhw== 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=YLRcyVfGSs/b8gVLZBN9vrBNEy+R8gdZAv9oKoM7NQ8=; b=yir6SEiQbYpqx+sD6zE4CXv4jLf9zzBYlo4Uggkn4DYrd5vra2N7FDER9wNCB6LvbO 0H78pdR6e3zrIyf8M6nTv3KDlKbTHD0ROWaaSUnBe5dg8KqmdbYzTtWvjtJu3yOkksPB njvR4Vf1Jsvrdsev6a52rlpF70V/4CSFx/UVIyycAB06CKcC58jj/23+2Mfjk92a+Esp nLIUk5Y7d+hTE8IYtsLzE/WbWGhEic4P5c9cTzeuSNQk7nxcC8D6aymBSSvhI5YBbH9k Z9MIdJ7m59j7/sy//sVMyscu7nexRH/aKb1Y4noMDAQcwN++bZk+9rhEG6y5pn5f9AlM x/fw== 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 p3si3267852pfh.84.2018.03.28.13.39.22; Wed, 28 Mar 2018 13:39:36 -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 S1753667AbeC1UiJ (ORCPT + 99 others); Wed, 28 Mar 2018 16:38:09 -0400 Received: from smtprelay0222.hostedemail.com ([216.40.44.222]:42452 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753633AbeC1UiH (ORCPT ); Wed, 28 Mar 2018 16:38:07 -0400 Received: from filter.hostedemail.com (clb03-v110.bra.tucows.net [216.40.38.60]) by smtprelay01.hostedemail.com (Postfix) with ESMTP id 96F8A100E86C4; Wed, 28 Mar 2018 20:38:06 +0000 (UTC) X-Session-Marker: 7368656140736865616C6576792E636F6D X-Spam-Summary: 2,0,0,,d41d8cd98f00b204,,:::::::::::::::::::,RULES_HIT:41:355:379:541:800:960:965:966:973:988:989:1260:1345:1359:1534:1539:1567:1711:1714:1730:1747:1777:1792:1978:2196:2199:2393:2559:2562:3138:3139:3140:3141:3142:3876:3877:4321:4385:4390:4395:5007:6114:6261:6642:8603:9592:10004:10848:11026:11473:11658:11914:12296:12438:12555:12895:12986:13069:13311:13357:14181:14384:14394:14721:21080:21627,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:19,LUA_SUMMARY:none X-HE-Tag: event12_46b42c5f00359 X-Filterd-Recvd-Size: 1639 Received: from localhost (c-71-235-10-46.hsd1.nh.comcast.net [71.235.10.46]) (Authenticated sender: shea@shealevy.com) by omf11.hostedemail.com (Postfix) with ESMTPA; Wed, 28 Mar 2018 20:38:05 +0000 (UTC) From: Shea Levy To: linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Shea Levy , Yoshinori Sato , Rich Felker , Vlastimil Babka , Andrew Morton , Michal Hocko , Dan Williams , linux-sh@vger.kernel.org Subject: [PATCH v4 15/16] sh: Use generic free_initrd_mem. Date: Wed, 28 Mar 2018 16:36:58 -0400 Message-Id: <20180328203659.18692-16-shea@shealevy.com> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180328203659.18692-1-shea@shealevy.com> References: <20180328152714.6103-1-shea@shealevy.com> <20180328203659.18692-1-shea@shealevy.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Signed-off-by: Shea Levy --- arch/sh/mm/init.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/arch/sh/mm/init.c b/arch/sh/mm/init.c index ce0bbaa7e404..7451459d0725 100644 --- a/arch/sh/mm/init.c +++ b/arch/sh/mm/init.c @@ -477,13 +477,6 @@ void free_initmem(void) free_initmem_default(-1); } -#ifdef CONFIG_BLK_DEV_INITRD -void free_initrd_mem(unsigned long start, unsigned long end) -{ - free_reserved_area((void *)start, (void *)end, -1, "initrd"); -} -#endif - #ifdef CONFIG_MEMORY_HOTPLUG int arch_add_memory(int nid, u64 start, u64 size, struct vmem_altmap *altmap, bool want_memblock) -- 2.16.2