Received: by 10.213.65.68 with SMTP id h4csp1527941imn; Sun, 1 Apr 2018 08:03:35 -0700 (PDT) X-Google-Smtp-Source: AIpwx49283L265BLzDxxAwMkXKkCwYuHPHPe+GY/1BKT3R99g99twxUcdhun0QgTUzbmVjNFwj8X X-Received: by 2002:a17:902:d81:: with SMTP id 1-v6mr6383177plv.324.1522595015337; Sun, 01 Apr 2018 08:03:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522595015; cv=none; d=google.com; s=arc-20160816; b=IutIul8P0E8kzyCN9rhEmh4BkDvlTS/ROXtgS6qaj9SQiduSNzzzN/C0d5Ds5QLHA6 0pmLXixuqO+fGjSGQG4Js1i6eeEvjGjvl4G2RxPHN7oXTMTjCIkVgihDZgf91oNrqLb8 pedhvX7pGxkybt5JbOKS6MT1hUESeIBL+nKV+bCWQYwQibUXgbYioad+4JOoQOxI9uUb Gbwc4Rht9XoP5TNcbaz9+E/+Vfj8ZibJaQerN8F42SCI/pGo3KTZ3gYJ9m1aCMScNzNc daY3mx0vpywltmZv2pRlNLN7SjxJ7VaE8VVK4vUSEgT2rFww4hwReLtyEcOb+xNo2yJu q8iQ== 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=DB11occ6WTW0Bg4hXxupHrOa8sJ8MBq7segTUMoG8I4=; b=Ro3TkCCg2McUOdSGln3CFyR9rqPqbcg8JKw7IvziAxtohyNTnXc7Dw+geXYDS1ajFc +t4Ifh9kySN9fXuTRT8Hp1VUco+UtojGzrXyi8Kd1iuTUkazdbOY7joFe8MywnPR1G0V /9zKVCP74k3JL4AKgj0jCCpdAhSU+mUsbsn9k+5Y3upEmgFv/cYdxwGikoST43/Alnp2 nkhHaNFG29OQirwDmsh2Cb5m9l0JYfifsYyFbVk02jdDki9FuBWhd+myCtc458J715F/ HDT9imM7A/hLwwuVhBvNAbfZUBexbhAo3LirDVAF1z2JlzdlPGEb0354RijAtUZdXmrY rXSw== 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 q1si8493465pgr.455.2018.04.01.08.02.57; Sun, 01 Apr 2018 08:03:35 -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 S1753795AbeDAPAy (ORCPT + 99 others); Sun, 1 Apr 2018 11:00:54 -0400 Received: from smtprelay0141.hostedemail.com ([216.40.44.141]:53728 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753736AbeDAPAj (ORCPT ); Sun, 1 Apr 2018 11:00:39 -0400 Received: from filter.hostedemail.com (clb03-v110.bra.tucows.net [216.40.38.60]) by smtprelay05.hostedemail.com (Postfix) with ESMTP id 715BA18029210; Sun, 1 Apr 2018 15:00:38 +0000 (UTC) X-Session-Marker: 7368656140736865616C6576792E636F6D X-Spam-Summary: 2,0,0,,d41d8cd98f00b204,,:::::::::::::,RULES_HIT:41:355:379:541:800:960:965:966:968:973:988:989:1260:1345:1359:1437:1534:1540:1711:1714:1730:1747:1777:1792:1978:1981:2194:2196:2199:2200:2393:2559:2562:3138:3139:3140:3141:3142:3351:3865:3867:3868:3870:3871:4321:4385:4390:4395:5007:6261:9592:10004:10848:11026:11473:11658:11914:12296:12438:12555:12895:12986: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:19,LUA_SUMMARY:none X-HE-Tag: light22_79eacbeee253d X-Filterd-Recvd-Size: 1747 Received: from localhost (c-71-235-10-46.hsd1.nh.comcast.net [71.235.10.46]) (Authenticated sender: shea@shealevy.com) by omf09.hostedemail.com (Postfix) with ESMTPA; Sun, 1 Apr 2018 15:00:37 +0000 (UTC) From: Shea Levy To: linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Shea Levy , Jeff Dike , Richard Weinberger , user-mode-linux-devel@lists.sourceforge.net, user-mode-linux-user@lists.sourceforge.net Subject: [PATCH v6 16/16] um: Switch to generic free_initrd_mem. Date: Sun, 1 Apr 2018 10:59:30 -0400 Message-Id: <20180401145931.7932-16-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/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