Received: by 10.213.65.68 with SMTP id h4csp842039imn; Sun, 25 Mar 2018 15:23:15 -0700 (PDT) X-Google-Smtp-Source: AIpwx49s4ihOJRzACg/OQ8k6UAqsY6qrJ2FL8Pm/XtGg5O0qJ8CP8aVz4sxgWEbCyiwPaiBXO5AS X-Received: by 10.98.156.7 with SMTP id f7mr1202841pfe.104.1522016595775; Sun, 25 Mar 2018 15:23:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522016595; cv=none; d=google.com; s=arc-20160816; b=fwC6uNY5A+XadwSGJ9leaKTQ3AbKlRo/B6VtQL3SxuKXCvbhETYNbzwla6fEZxTS+s HgYHicQopMcKRAVSIdd4yyANmbEk/RmHHkkcNv0ESTuty5/koH1EMl4CqZ9ViFr6wkAe 2UsiPvYIqYQ0Qct30jXUYnnL8xUTD7pvn0jhFKHWg4lRyXdHVDXn6QUie7hyWdGi+h40 QHcR4/kQpAIPCk1fonJ6zLIvknEnN/Xa0GSHuavwteWxe5iaikWTEHRO1emiQHK4Nef+ Z0rnt+k5qzSMki1YTgIyOJ0QApisu2rO/tF3jIHRxLv7lHNXsEVi25t4jDxk2tYKZoV8 yvYw== 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=rOPfIDhVmj4ep+XUES5cZIZzJHkbkfWMiM+x82dSHVw=; b=FLjxpmFNGicPOTSK7VikHh0IhrVYOCJfmmudICJavPntSV51uJ4n+FoI9KP2eqS/Io y98yBzxlA1YZ+7XScopor1VOwViQZvYJreG30WKshd+vUbAQWJvudis262ToCq5fDreO UK8Vf3ttAeTLB8rGb807EpWLoIQHtb1jdHsDvrB1swpYLV7sZ7gxlmA32RVgh/YDyGm2 wbIY5OXhxZ60YXi4SqjsejOfyKo0exz9/3HpZlqqSDrBMD6iyP4jYBGhT1ld+/G1bBM+ cLAZnORL3s4fENsugwBZX7wVJlpDAcJrlnCRUWTFjGqkHPt1JeZ9/6aDm9+QGLOcTM1I zVVw== 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 p10si9262719pgv.97.2018.03.25.15.23.01; Sun, 25 Mar 2018 15:23:15 -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 S1752552AbeCYWTm (ORCPT + 99 others); Sun, 25 Mar 2018 18:19:42 -0400 Received: from smtprelay0024.hostedemail.com ([216.40.44.24]:50222 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752314AbeCYWT0 (ORCPT ); Sun, 25 Mar 2018 18:19:26 -0400 Received: from filter.hostedemail.com (clb03-v110.bra.tucows.net [216.40.38.60]) by smtprelay02.hostedemail.com (Postfix) with ESMTP id 2FF7B610E; Sun, 25 Mar 2018 22:19:25 +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:4321:4385:5007:6114:6261:6642:6737:9592:10004:10848:11026:11473:11658:11914:12048:12114:12438:12533:12555:12895:12986:13069:13311:13357:14096:14181:14384:14394:14721:21080:21611:21627,0,RBL:error,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:,MSBL:0,DNSBL:error,Custom_rules:0:0:0,LFtime:2000,LUA_SUMMARY:none X-HE-Tag: box60_34baf74b15c4b 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 omf11.hostedemail.com (Postfix) with ESMTPA; Sun, 25 Mar 2018 22:19:22 +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 07/16] h8300: Use INITRAMFS_GENERIC_UNLOAD Date: Sun, 25 Mar 2018 18:18:44 -0400 Message-Id: <20180325221853.10839-8-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/h8300/Kconfig | 1 + arch/h8300/mm/init.c | 7 ------- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/arch/h8300/Kconfig b/arch/h8300/Kconfig index 091d6d04b5e5..58c9b6b1df16 100644 --- a/arch/h8300/Kconfig +++ b/arch/h8300/Kconfig @@ -24,6 +24,7 @@ config H8300 select HAVE_ARCH_HASH select CPU_NO_EFFICIENT_FFS select DMA_DIRECT_OPS + select INITRAMFS_GENERIC_UNLOAD config CPU_BIG_ENDIAN def_bool y diff --git a/arch/h8300/mm/init.c b/arch/h8300/mm/init.c index 015287ac8ce8..37574332b202 100644 --- a/arch/h8300/mm/init.c +++ b/arch/h8300/mm/init.c @@ -102,13 +102,6 @@ void __init mem_init(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 - void free_initmem(void) { -- 2.16.2