Received: by 10.213.65.68 with SMTP id h4csp843564imn; Sun, 25 Mar 2018 15:26:38 -0700 (PDT) X-Google-Smtp-Source: AG47ELvVd0A5OQaa62HOrEKax2F231lzzkoDFQ9UKYhzmv/ceY7ee+z/E83AWB+sYbidAc7MxymC X-Received: by 10.98.217.85 with SMTP id s82mr25115915pfg.208.1522016798001; Sun, 25 Mar 2018 15:26:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522016797; cv=none; d=google.com; s=arc-20160816; b=hVjMpLnzEreLsOHZzMyVw8VQxwZ7y/9jwTF8wn+alDvROQwyyY057RN+6aQLqzI+jj F0GFq8S7CYcXy/5bvq1DuLIIeunAOAojpRHcrNKUwy6o3tazQ0tlWHzGF/I0WT1+6nN/ MAxqWUgIDA8fJxOImMCm+K58kkUOpBBP64aOfICDtBrLl031sKUoxjp7q5Y7emQVI4xF ledgYKVi3HQ21EKgygf+jBtB9jtcPdMBfN3iG+EmmNBUq9/gwrt3RKOsVcEIVSEIgXCJ GRZxAqkgkO6WDZbj5c2xbKTCQ7/+o+Qb3QZf0m1jmdjrSrJlaYki1CoSpJXa2VpwR0lo Vzeg== 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=wdDfrvJZtKlcWdhkJ0m6q57tJY2+h8mKJaLwKq259Ao=; b=XHJDMF6Lg3FZckM6ZDaNA1k9YI79DkOIUmD6M9/HeMXLrkrvyMUc4Vo7xY8RqXmzAv NNGu5Pqk5L1C0rAa6F1aGlM5CL+03eLpHYSo4jKAcJKzZIRSUmj4CyxODizA24emE6QJ Z6Cg4WVCv13vos7YgrSfhFi16HkNevSWkrUBX05mmHA2ZnKzGlNtyXDM8rILzpyoKrap pVMlJ8deH3d/mJnZ5r7U4lKwgXbYptJhw19EqxmD10rhn81++Vv793pUWZsc+d9FrorB FubeGGKlDo5g/8Sn2/hbF891VtkSIQYpfZdRMkk593ZR8oxh4QbSe0hGejTdNg8LJ8Rq ZCOg== 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 x3si9440723pgp.298.2018.03.25.15.26.23; Sun, 25 Mar 2018 15:26:37 -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 S1752619AbeCYWZG (ORCPT + 99 others); Sun, 25 Mar 2018 18:25:06 -0400 Received: from smtprelay0237.hostedemail.com ([216.40.44.237]:34452 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752360AbeCYWT3 (ORCPT ); Sun, 25 Mar 2018 18:19:29 -0400 Received: from filter.hostedemail.com (clb03-v110.bra.tucows.net [216.40.38.60]) by smtprelay01.hostedemail.com (Postfix) with ESMTP id 14785100E86C4; Sun, 25 Mar 2018 22:19:28 +0000 (UTC) X-Session-Marker: 7368656140736865616C6576792E636F6D X-Spam-Summary: 2,0,0,,d41d8cd98f00b204,,:::::::::::::::::::::::::::,RULES_HIT:41:69:355:379:541:800:960:966:973:988:989:1260:1345:1359:1534:1541:1711:1730:1747:1777:1792:2194:2196:2199:2200:2282:2393:2559:2562:3138:3139:3140:3141:3142:3352:3876:3877:4250:4321:4385:5007:6114:6261:6642:6737:9592:10004:10848:11026:11473:11658:11914:12043:12048:12114:12291:12438:12533:12555:12683: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:15,LUA_SUMMARY:none X-HE-Tag: sea19_3566b70bb264e X-Filterd-Recvd-Size: 2230 Received: from localhost (c-71-235-10-46.hsd1.nh.comcast.net [71.235.10.46]) (Authenticated sender: shea@shealevy.com) by omf06.hostedemail.com (Postfix) with ESMTPA; Sun, 25 Mar 2018 22:19:26 +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 08/16] m32r: Use INITRAMFS_GENERIC_UNLOAD Date: Sun, 25 Mar 2018 18:18:45 -0400 Message-Id: <20180325221853.10839-9-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/m32r/Kconfig | 1 + arch/m32r/mm/init.c | 11 ----------- 2 files changed, 1 insertion(+), 11 deletions(-) diff --git a/arch/m32r/Kconfig b/arch/m32r/Kconfig index dd84ee194579..010a2b999181 100644 --- a/arch/m32r/Kconfig +++ b/arch/m32r/Kconfig @@ -21,6 +21,7 @@ config M32R select CPU_NO_EFFICIENT_FFS select DMA_DIRECT_OPS select ARCH_NO_COHERENT_DMA_MMAP if !MMU + select INITRAMFS_GENERIC_UNLOAD config SBUS bool diff --git a/arch/m32r/mm/init.c b/arch/m32r/mm/init.c index 93abc8c3a46e..e2b5f09209ee 100644 --- a/arch/m32r/mm/init.c +++ b/arch/m32r/mm/init.c @@ -139,14 +139,3 @@ void free_initmem(void) { free_initmem_default(-1); } - -#ifdef CONFIG_BLK_DEV_INITRD -/*======================================================================* - * free_initrd_mem() : - * orig : arch/sh/mm/init.c - *======================================================================*/ -void free_initrd_mem(unsigned long start, unsigned long end) -{ - free_reserved_area((void *)start, (void *)end, -1, "initrd"); -} -#endif -- 2.16.2