Received: by 10.213.65.68 with SMTP id h4csp1368531imn; Sat, 24 Mar 2018 10:47:34 -0700 (PDT) X-Google-Smtp-Source: AG47ELsmMeUEvSPt8clKWkko6ol/0j4gw6L60kn65GCkKqAx0t3xA9Mwa+T9sPRhLTZc1k4LczBY X-Received: by 10.99.47.4 with SMTP id v4mr14934706pgv.42.1521913654798; Sat, 24 Mar 2018 10:47:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521913654; cv=none; d=google.com; s=arc-20160816; b=W4w556LJJzuDtO+2v5pRTBr+2+5XjENGsNWRkXPFLvQnm5tEoIbzCkma/XcJgrLJoR okX6uoGk4zX0XbNtiZwOjRBG+ThJuzsIz3RGOYMFw1Rh3/frQJ1PBL2HMaJUYEeCRghm lJ7zZ1fxl3Io6NxGPEFLj8FgBeg50JaHtTNYU3PBcZFq074ulh3l2hvZBlnPTyjb8rpt pRUFUAKgMiHA2/nT6DWl+p40oN72NIRrH1EXMgaHAxnDEq1Ms5DR5BFTpC44O9QVdx1Q ZsAsvoDcXmwfMLwgX0chUwL76acgfGUzHieEhN2TG7EyIG+eqtiYnHVU4/dhahyqY+sF 271g== 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=pawks8Jejs21KexS/UL4c8utv3GqZhD/gFOCSEKF/dg=; b=jwdy9ZrWXxQkAVQCLSco/LGYx+OXFFkmguO6ErIfdFGVViLEcQIC7MUxloXrbaBmGm gihphWFW7uWdMnTk3JcVapu5//jLJfFAgFDPrIF9XE3t7FTavjDk7cgxXu59geYhfdYe /NQWJBC0ZcV2iw2x267N5gCKxJLsM3S/W+kmOf80wTN07BPDzU5jpBNCC+nwzjwzxky/ nWysu6UQuDnbFhBKIxMWXwJpY+pnFYquICfbPkByvJA1HlbbYjLz60L9nulQpLmYAJMK xZ0S/gXNTlTaRjWYSDyKQc3MkZ07xuBTvHn0irvF0i+O+d982G3ldzqMKE2B8uJoTXcE DhjQ== 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 u11si8527219pfh.197.2018.03.24.10.47.20; Sat, 24 Mar 2018 10:47:34 -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 S1752875AbeCXRqR (ORCPT + 99 others); Sat, 24 Mar 2018 13:46:17 -0400 Received: from smtprelay0225.hostedemail.com ([216.40.44.225]:49145 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752643AbeCXRqP (ORCPT ); Sat, 24 Mar 2018 13:46:15 -0400 Received: from filter.hostedemail.com (clb03-v110.bra.tucows.net [216.40.38.60]) by smtprelay08.hostedemail.com (Postfix) with ESMTP id 85AE5182CED5B; Sat, 24 Mar 2018 17:46:14 +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:1730:1747:1777:1792:2194:2196:2198:2199:2200:2201:2393:2559:2562:3138:3139:3140:3141:3142:3352:3865:3868:3870:3871:3872:4250:4321:4385:5007:6261:6737:8603:9592:10004:10848:11026:11473:11658:11914:12048:12114:12296:12438:12533:12555:12895:12986: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:2,LUA_SUMMARY:none X-HE-Tag: wax19_537482f00ee14 X-Filterd-Recvd-Size: 2198 Received: from localhost (c-71-235-10-46.hsd1.nh.comcast.net [71.235.10.46]) (Authenticated sender: shea@shealevy.com) by omf02.hostedemail.com (Postfix) with ESMTPA; Sat, 24 Mar 2018 17:46:13 +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 15/16] sh: Use INITRAMFS_GENERIC_UNLOAD Date: Sat, 24 Mar 2018 13:44:57 -0400 Message-Id: <20180324174458.26423-16-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/sh/Kconfig | 1 + arch/sh/mm/init.c | 7 ------- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/arch/sh/Kconfig b/arch/sh/Kconfig index 97fe29316476..b6f80dad2152 100644 --- a/arch/sh/Kconfig +++ b/arch/sh/Kconfig @@ -50,6 +50,7 @@ config SUPERH select HAVE_ARCH_AUDITSYSCALL select HAVE_FUTEX_CMPXCHG if FUTEX select HAVE_NMI + select INITRAMFS_GENERIC_UNLOAD help The SuperH is a RISC processor targeted for use in embedded systems and consumer electronics; it was also used in the Sega Dreamcast 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