Received: by 10.213.65.68 with SMTP id h4csp841980imn; Sun, 25 Mar 2018 15:23:07 -0700 (PDT) X-Google-Smtp-Source: AG47ELvzHqr+nESFZCdCl01y7rQz7vChRaf7asinCOZNsYXe8S0GFzx+1roSdKpaVxB8IrzUwu3j X-Received: by 10.98.32.134 with SMTP id m6mr31285031pfj.27.1522016587855; Sun, 25 Mar 2018 15:23:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522016587; cv=none; d=google.com; s=arc-20160816; b=dgNao8p53/Jsafz+qvS728R9AXnIL5hST1kpdpeCJbGCMRic+2ugx0zo/DxwJjIir/ EFAAc9onqQWYP5DOz7LBYZXRYaoR2ILPf0/0522XH0z8qIRi1R1rO8zKP5xQvQ+33ORo x2AJNUWTnU5I+1r3bbItS2aNKEpe1HSZ9TYLZpFdaHhAeBqCyFVX8et0jzHD9sZWbpG0 OO9jfcoh5VxVGO0GPrsGMV7gLPsNmBHvm6lE5tLacy5COoKYOC8yuRzef15e1VoyUxe5 DjIK43eVjme7Qpoj3bE3b7J81mnILXEBafsvYFWxHjkxjilhoRbQyjjKI/e1S+gbmRUA Gpfw== 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=vPrYJghr/f8RYiuRcIok3rq54mzGAx8sEPMMS/LBNos=; b=C2OE1tTHtTJOxLbEEvtYxt67OTwaiZb5Ww9fS0sd9qViiKI0pn/e28ZkA8XRtT+LfR 9esDOsgq6OYAHIvVyiDN71hDe57cvpsJYPN/kd9q9eJuGwwDwODIpeZ2JUIf/Qd9kwNJ ppX9odKfzj6KSfB7WPUSFeUgoCk7y25BwWs2SElaOqhUF2MyoRdSYz7ohT4/GXVpi5ha IoqCnTSE5Ngc4ctzFJKyemg1VKbn2GOpKt2Pd1Lt1XU6AFbmdQwaTcN5a0nftFgyztbs ECIBKV0i3CHx/P+0ES2rnHIUsJE7Hulh2dDhzv9YHqZfbOSvqoEAkLP13R78PieoW5ic uKNw== 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 w5si9416617pgt.823.2018.03.25.15.22.53; Sun, 25 Mar 2018 15:23:07 -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 S1752563AbeCYWTt (ORCPT + 99 others); Sun, 25 Mar 2018 18:19:49 -0400 Received: from smtprelay0108.hostedemail.com ([216.40.44.108]:36079 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752412AbeCYWTb (ORCPT ); Sun, 25 Mar 2018 18:19:31 -0400 Received: from filter.hostedemail.com (clb03-v110.bra.tucows.net [216.40.38.60]) by smtprelay06.hostedemail.com (Postfix) with ESMTP id 9602A18224D79; Sun, 25 Mar 2018 22:19:30 +0000 (UTC) X-Session-Marker: 7368656140736865616C6576792E636F6D X-Spam-Summary: 2,0,0,,d41d8cd98f00b204,,:::::::::::::::::::::::::::,RULES_HIT:41:355:379:541:800:960:966:973:988:989:1260:1345:1359:1534:1540:1711:1714:1730:1747:1777:1792:2194:2196:2199:2200:2393:2559:2562:3138:3139:3140:3141:3142:3351:3876:3877:4385:5007:6114:6261:6642:6737:9592:10004:10848:11026:11473:11658:11914:12048:12114:12296:12438:12533:12555:12895:13069:13311:13357:14096: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:2,LUA_SUMMARY:none X-HE-Tag: store30_35cd37b5a3050 X-Filterd-Recvd-Size: 2032 Received: from localhost (c-71-235-10-46.hsd1.nh.comcast.net [71.235.10.46]) (Authenticated sender: shea@shealevy.com) by omf12.hostedemail.com (Postfix) with ESMTPA; Sun, 25 Mar 2018 22:19:29 +0000 (UTC) From: Shea Levy To: linux-alpha@vger.kernel.org, linux-kernel@vger.kernel.org, linux-snps-arc@lists.infradead.org, linux-c6x-dev@linux-c6x.org, uclinux-h8-devel@lists.sourceforge.jp, linux-m68k@lists.linux-m68k.org, nios2-dev@lists.rocketboards.org, openrisc@lists.librecores.org, linux-parisc@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-riscv@lists.infradead.org, linux-sh@vger.kernel.org, user-mode-linux-devel@lists.sourceforge.net Cc: Shea Levy Subject: [PATCH v2 09/16] m68k: Use INITRAMFS_GENERIC_UNLOAD Date: Sun, 25 Mar 2018 18:18:46 -0400 Message-Id: <20180325221853.10839-10-shea@shealevy.com> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180325221853.10839-1-shea@shealevy.com> References: <20180324174458.26423-1-shea@shealevy.com> <20180325221853.10839-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/m68k/Kconfig | 1 + arch/m68k/mm/init.c | 7 ------- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/arch/m68k/Kconfig b/arch/m68k/Kconfig index 785612b576f7..47913a68529e 100644 --- a/arch/m68k/Kconfig +++ b/arch/m68k/Kconfig @@ -24,6 +24,7 @@ config M68K select MODULES_USE_ELF_RELA select OLD_SIGSUSPEND3 select OLD_SIGACTION + select INITRAMFS_GENERIC_UNLOAD config CPU_BIG_ENDIAN def_bool y diff --git a/arch/m68k/mm/init.c b/arch/m68k/mm/init.c index e85acd131fa8..e20bef09258c 100644 --- a/arch/m68k/mm/init.c +++ b/arch/m68k/mm/init.c @@ -172,10 +172,3 @@ void __init mem_init(void) mem_init_print_info(NULL); print_memmap(); } - -#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 -- 2.16.2