From patchwork Tue Oct 30 23:07:16 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Florian Fainelli X-Patchwork-Id: 991173 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:e::133; helo=bombadil.infradead.org; envelope-from=linux-snps-arc-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="ODHtyuE8"; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="hvJ0IUj6"; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 42l6Zy1nd6z9s8r for ; Wed, 31 Oct 2018 10:08:26 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=YLpu3Wiqz6xplBRUxNiy13+uKKvAzedQzkFjPWeGE+U=; b=ODHtyuE86yzgNhViAAcNZgCdes qY9Q9hzDRatHeBfMidzeZJuz18tFjF04etrJbsPGmXMUoUfLeizv08YhKGTRrwZH/s8FEZZPndEN0 dfNN461kCnEU5h23b1BCL7PAhG0rPp9uRy8IuahbcPD9GGblgC1Zyj8R2owArpKepjdkbqGYHROF/ 44U4yUHwR8nEvBacjAxOUvffO3rmy7ywABlFydSXo2KqiiAvdCMjAutlUzgrsH7LE+CyLB3RIcFzl RYtEyOVT9Onl3NdkoHtul0R3HNWHZO4F9bscGr8sLPJahZGjaZRaxskl2mmJaunXBrOAU3Yb3EzrZ RMhCQgBg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gHd7X-0003Xl-Jf; Tue, 30 Oct 2018 23:08:23 +0000 Received: from mail-pl1-x644.google.com ([2607:f8b0:4864:20::644]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gHd77-0002vf-Ko; Tue, 30 Oct 2018 23:07:58 +0000 Received: by mail-pl1-x644.google.com with SMTP id bh10-v6so6292536plb.4; Tue, 30 Oct 2018 16:07:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=AtQivvj6hJ1qy9E/5uGhpUB8LlJCIsHqyEiYftwE/sA=; b=hvJ0IUj6E4TSFw5faIid8dOJVNztuUimjiQ2pBRDEbegFPU7KU3jUtzmGna1JGIjQh zpbXRxI88fTPaDX0IAvmwLjP+dOz4ULY5by+5IkcLSBV4e9ho3K/rdxbf95qPeVB9JVl GYkGIydp41I9avFp79go0cFyGGi2kGi7IH6nT9Ovh6+fi+usbhx5OZCaPZB0bstr54Fo Z52A5CNiExQZ8qi2pIMQ3dp/8jacVQjHjhWlE4wY+Tr/ZLJ8EbFK6OVC0N9TJKnoFktc dCjLDSalCzwKFsKDvSYXcKNuL4cMBlpEwK3QxDmH5PXLp2XN2RXgDrkBXP1kAqygYZs5 QzFw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=AtQivvj6hJ1qy9E/5uGhpUB8LlJCIsHqyEiYftwE/sA=; b=A4JFC8KBxBSF7ZKeKw8T2W+G/TnAp8Jy1j3j67fgZxE5fcOGaZWd1UBrxQurSfmxjJ IGp6+z0aRpCNR8ZhwpblWctnCDgfz0fJFhJTWKX+kt13bNPWSPzFAo4UtdYJtKaRRkr+ XZX70pdxvhOOfEavjcmWdd2HQ5PQqp8UNwJdvcMrPj9gebN1o70A13KsvFUQEBWto0Y+ Kt+dKRcvrCzPdwzaLzDDKNi+Y4iI8yvupfPuuvhYFVZJOOh6GhlG2RHJh9OZsncbKxQ2 qergMnokJXAovIujtX1hWlUyZmmmT+pjAvejgRVda5wZv/TIK9b6Tu5CynPHug9Ztpjn WA4Q== X-Gm-Message-State: AGRZ1gKDJomnBL8oNfANRruHKZYiYvYfJR/N+9xlcy6w21yFmAcvcVwY TOCVkC3Ur5v6iL6Ovc1M9Yw= X-Google-Smtp-Source: AJdET5daocjHV5R6DDcOmZHyh7AJ50MHrydI3vK1pmRlvPBjVfl0KFSXUJ0PpENH1LsHXyuMX3p3qw== X-Received: by 2002:a17:902:2ac3:: with SMTP id j61-v6mr676468plb.139.1540940866511; Tue, 30 Oct 2018 16:07:46 -0700 (PDT) Received: from fainelli-desktop.igp.broadcom.net ([192.19.223.250]) by smtp.gmail.com with ESMTPSA id f14-v6sm3431689pgr.87.2018.10.30.16.07.44 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 30 Oct 2018 16:07:45 -0700 (PDT) From: Florian Fainelli To: linux-kernel@vger.kernel.org Subject: [PATCH v2 1/6] nds32: Remove phys_initrd_start and phys_initrd_size Date: Tue, 30 Oct 2018 16:07:16 -0700 Message-Id: <20181030230721.28429-2-f.fainelli@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181030230721.28429-1-f.fainelli@gmail.com> References: <20181030230721.28429-1-f.fainelli@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181030_160757_679934_76DCEA62 X-CRM114-Status: GOOD ( 12.18 ) X-Spam-Score: -0.1 (/) X-Spam-Report: SpamAssassin version 3.4.1 on bombadil.infradead.org summary: Content analysis details: (-0.1 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [2607:f8b0:4864:20:0:0:0:644 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (f.fainelli[at]gmail.com) -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid X-BeenThere: linux-snps-arc@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Linux on Synopsys ARC Processors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: CHANDAN VN , Catalin Marinas , Will Deacon , Stefan Agner , Masahiro Yamada , deanbo422@gmail.com, Frank Rowand , Florian Fainelli , linux@armlinux.org.uk, rppt@linux.ibm.com, Andrey Ryabinin , Laura Abbott , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE" , Marc Zyngier , Andrey Konovalov , Kristina Martsenko , Russell King , Rob Herring , green.hu@gmail.com, gxt@pku.edu.cn, "moderated list:ARM64 PORT AARCH64 ARCHITECTURE" , linux-snps-arc@lists.infradead.org, ard.biesheuvel@linaro.org, vgupta@synopsys.com, Johannes Weiner , Andrew Morton , Robin Murphy , Greg Hackmann MIME-Version: 1.0 Sender: "linux-snps-arc" Errors-To: linux-snps-arc-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org This will conflict with a subsequent change making phys_initrd_start and phys_initrd_size global variables. nds32 does not make use of those nor provides a suitable declarations so just get rid of them. Signed-off-by: Florian Fainelli --- arch/nds32/mm/init.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/nds32/mm/init.c b/arch/nds32/mm/init.c index c713d2ad55dc..32f55a24ccbb 100644 --- a/arch/nds32/mm/init.c +++ b/arch/nds32/mm/init.c @@ -22,8 +22,6 @@ DEFINE_PER_CPU(struct mmu_gather, mmu_gathers); DEFINE_SPINLOCK(anon_alias_lock); extern pgd_t swapper_pg_dir[PTRS_PER_PGD]; -extern unsigned long phys_initrd_start; -extern unsigned long phys_initrd_size; /* * empty_zero_page is a special page that is used for