Received: by 10.213.65.68 with SMTP id h4csp1369293imn; Sat, 24 Mar 2018 10:48:55 -0700 (PDT) X-Google-Smtp-Source: AG47ELvPVWkrkZ1EPZsgmzpO1nU294zBWkA11RiDehV6gaBnPwZLKrB0fyrXcX04cbkZLre7MMdn X-Received: by 10.101.70.72 with SMTP id k8mr18979191pgr.402.1521913735316; Sat, 24 Mar 2018 10:48:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521913735; cv=none; d=google.com; s=arc-20160816; b=MotQcIvpzC+BckozCUmVptgckdD2/OG/DQcSBrr8VkH8ChidkV18f3GybFauWbdXML auywlIIPTEShePFcEWFk0S+FfMZiJSXiTZ8TWyrLxGf1c0wtXxWznkJLHwj2tUfWb+Y+ 3X6r/NPehWp2opBLWpTZtK2HrqcWQ7e/0j59slslYrSGL9NyEfxA8zjyjzqxjE1B5Zc9 +9W812cg25BVKH569DZjtc7C5sFRmTXWPz0vRlQGLANtG3uBv1/DIRZjQyvqBzIEi18S Li6pj+MOwaZBA+Uq6drQx4xp6tvcICDQ9Vjmz6fH2l1/2/zAzIjCa3CRNXqxSCATNkc0 qh6Q== 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=+asTRRHBRZMQn3fd5IXEp11QFDf0bJi/BnBBoGqKp/8=; b=eBpqgbz54C8rOmCfwVXgTkUOqMXfMmaMUVymkD2I/ulT6xBM8e9Eod6723UZmSkh19 TM3pHmezHZuNRVcJFzChBuGt0ORk2OHUQPD9epl+KdzJHW2i6+CPoDh5hTM77sRdvl34 LuJ5i/ZsW+TE9e+2+5g9W5PEgceLq38pULZfMKLN7k6owxintVir3EBlktghxBfUwH3t inMhslQf/K3hncpSIlA1SOvaBdAVAaZAiU2dDUqP8fRwQwlNuX4o8HT7xSPwEPyx61vZ Viwf0JzwMb7ZkCpH/rfQ+4FAnvLWzPFrMOWSMnAARX2M81njGZphthvBus/jwvwdaFbe 5YQQ== 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 g132si7855584pgc.69.2018.03.24.10.48.40; Sat, 24 Mar 2018 10:48:55 -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 S1752955AbeCXRrK (ORCPT + 99 others); Sat, 24 Mar 2018 13:47:10 -0400 Received: from smtprelay0238.hostedemail.com ([216.40.44.238]:48669 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752837AbeCXRqI (ORCPT ); Sat, 24 Mar 2018 13:46:08 -0400 Received: from filter.hostedemail.com (clb03-v110.bra.tucows.net [216.40.38.60]) by smtprelay01.hostedemail.com (Postfix) with ESMTP id 4FEB8100E86C4; Sat, 24 Mar 2018 17:46:07 +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:1437:1534:1541:1711:1714:1730:1747:1777:1792:2194:2196:2199:2200:2393:2559:2562:3138:3139:3140:3141:3142:3351:3876:3877:4250:4321:4385:5007:6114:6119:6261:6642:6737:7974:9592:10004:10848:11026:11473:11658:11914:12048:12114:12438:12533:12555:12895:13069: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: knife86_5263b9c89804c X-Filterd-Recvd-Size: 2069 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; Sat, 24 Mar 2018 17:46:06 +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 12/16] openrisc: Use INITRAMFS_GENERIC_UNLOAD Date: Sat, 24 Mar 2018 13:44:54 -0400 Message-Id: <20180324174458.26423-13-shea@shealevy.com> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180324174458.26423-1-shea@shealevy.com> References: <20180324174458.26423-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/openrisc/Kconfig | 1 + arch/openrisc/mm/init.c | 7 ------- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/arch/openrisc/Kconfig b/arch/openrisc/Kconfig index dfb6a79ba7ff..0f8d2132baa5 100644 --- a/arch/openrisc/Kconfig +++ b/arch/openrisc/Kconfig @@ -36,6 +36,7 @@ config OPENRISC select OMPIC if SMP select ARCH_WANT_FRAME_POINTERS select GENERIC_IRQ_MULTI_HANDLER + select INITRAMFS_GENERIC_UNLOAD config CPU_BIG_ENDIAN def_bool y diff --git a/arch/openrisc/mm/init.c b/arch/openrisc/mm/init.c index 6972d5d6f23f..c1a3dcf9ad40 100644 --- a/arch/openrisc/mm/init.c +++ b/arch/openrisc/mm/init.c @@ -222,13 +222,6 @@ void __init mem_init(void) return; } -#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 - void free_initmem(void) { free_initmem_default(-1); -- 2.16.2