Received: by 10.213.65.68 with SMTP id h4csp829382imn; Wed, 28 Mar 2018 13:39:28 -0700 (PDT) X-Google-Smtp-Source: AIpwx49y0bZDQYKyE2D7038c7a63i022dAR9tw5gIZgvRuXqVGu43GfvtiI3oaHUqZhvgs0ta0+J X-Received: by 2002:a17:902:604f:: with SMTP id a15-v6mr5367074plt.184.1522269568253; Wed, 28 Mar 2018 13:39:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522269568; cv=none; d=google.com; s=arc-20160816; b=VDSVnY61V7YKFKvdYe6Rm/1WvaYS41D/HG3iDzIrbyETAbVGamgU2xJS20W1ctDDYk 7QI10Zl2y59/C30ccf8C/Q6g7GtI2WiY9mARU4wV6XXKdCXFwDvNQaV7g4QC/duAKeVJ PPlG1A85gcK/EJXmYy5X7y7XS5Sb8GH5/6b9a6lSfUuMzODGyx05/zhzjd/+Wqg57TOq 2SQMTVOxWRBQGIL4fWB14SrNLoIvSmeo/rK691lGJwtnxC7HK/dQ4OtYAKOiTjokjwv5 1n+j60tuoAcnm6utpMdiYclnakqiDU/1pxTvb847BlpdAW8v3BWgmCBLS2nlLQJ4EvHW GMJA== 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=qTGC6fzljZ5jYc2ijV8HxGMntGWyqqvjVv71pacv6UE=; b=HA+v+C1MuNuyXhVPaIKsbAE4Kpi1ss60s1x/uSqjk0zo66GCJ3iNMqD14kMl29VL9m /vFaBryzXHlGxZyKgILKYvqq3q5h9xvbU9UE2mw7hq2WbkeU2FiAEg+niUF3cWL2KPuO TmIFTfqzGe5/A4kRQggWqdFpD5plR9rRDYfljFcJk5CSBowuuNs2Ta5hgBAx64yUbEE9 VgVU9sEymm/rKPjMlKFgYjRYxi6ASLv9TVCAISSfmkFl9meU2XBJxLBv2Mq8wy5U0DxZ LSOSg2ccX6IEX5AONF47pfW4TzQgiPCyOq3tlwDr7SQ9+pxkDoH/tktM5JTUn8O9lYWI 8Vrw== 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 e11si2985894pgr.231.2018.03.28.13.39.13; Wed, 28 Mar 2018 13:39:28 -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 S1753691AbeC1UiN (ORCPT + 99 others); Wed, 28 Mar 2018 16:38:13 -0400 Received: from smtprelay0061.hostedemail.com ([216.40.44.61]:44404 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753243AbeC1UiL (ORCPT ); Wed, 28 Mar 2018 16:38:11 -0400 Received: from filter.hostedemail.com (clb03-v110.bra.tucows.net [216.40.38.60]) by smtprelay08.hostedemail.com (Postfix) with ESMTP id C4F15182CED28; Wed, 28 Mar 2018 20:38:10 +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:1437:1534:1539:1567:1711:1714:1730:1747:1777:1792:1978:2196:2199:2393:2559:2562:3138:3139:3140:3141:3142:3868:4321:4385:4390:4395:5007:6261:9592:10004:10848:11026:11473:11658:11914:12296:12438:12555:12895:12986:13069:13311:13357: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:19,LUA_SUMMARY:none X-HE-Tag: eye19_47213382baf08 X-Filterd-Recvd-Size: 1627 Received: from localhost (c-71-235-10-46.hsd1.nh.comcast.net [71.235.10.46]) (Authenticated sender: shea@shealevy.com) by omf03.hostedemail.com (Postfix) with ESMTPA; Wed, 28 Mar 2018 20:38:08 +0000 (UTC) From: Shea Levy To: linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Shea Levy , Jeff Dike , Richard Weinberger , Andrew Morton , Ingo Molnar , Michal Hocko , Ralf Baechle , user-mode-linux-devel@lists.sourceforge.net, user-mode-linux-user@lists.sourceforge.net Subject: [PATCH v4 16/16] um: Use generic free_initrd_mem. Date: Wed, 28 Mar 2018 16:36:59 -0400 Message-Id: <20180328203659.18692-17-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/um/kernel/mem.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/arch/um/kernel/mem.c b/arch/um/kernel/mem.c index 3c0e470ea646..2d26eec92126 100644 --- a/arch/um/kernel/mem.c +++ b/arch/um/kernel/mem.c @@ -170,13 +170,6 @@ void free_initmem(void) { } -#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 - /* Allocate and free page tables. */ pgd_t *pgd_alloc(struct mm_struct *mm) -- 2.16.2