From patchwork Wed Oct 31 19:28:38 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Florian Fainelli X-Patchwork-Id: 991683 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="YR2bYF5Q"; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="RCRjmGvE"; 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 42ldzj1nsKz9sD4 for ; Thu, 1 Nov 2018 06:43:10 +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=YR2bYF5Qp4L3P59FOU9wOVGAjz 3r6lSng2pnaE1eSWR1MNTCtm7a/VYHNUMhDtdMl9FZsOuWNznE43Vb0ioeFeMnMtVjMNpJ25dz3EC atPf6WzZOEshPKT0qCdx1tjapMAzOJo3Ql2nZwb1fje8fgBZ9Ye/p75EmYSXJeCwS3JUpR/YwtxXU 5qbAQEGgxbtDhMRfBmj+R9nNXgnhKyQ368DSFjrdMi5yO1Gf0ImrklEETKDVUaboiT69CfPfO7RN4 PGIjj06eLKRk/X00PThm5ao0xtS6Wb9/nak7FoXMqYayj/UXBZ3FuV2x0RlF1l+ezYXMEiR1YMuEr PvV1kDRA==; 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 1gHwOQ-0006lq-TT; Wed, 31 Oct 2018 19:43:06 +0000 Received: from mail-pg1-x541.google.com ([2607:f8b0:4864:20::541]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gHwB7-0008NV-Rn; Wed, 31 Oct 2018 19:29:23 +0000 Received: by mail-pg1-x541.google.com with SMTP id 23-v6so7842734pgc.8; Wed, 31 Oct 2018 12:29:10 -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=RCRjmGvEbqjdI9OzBdo0gQXu8wg9X6HwAW3XgkU7ez22isXbB5ufYHZ+1GfVHV1eba gXay8rKdsjLxqW5NuaC+V7hfQzg2HjqLXmpe8SvdS5FErR/MkZRSXq8GcCP6OTdKJ/Kl 712HBpnoOqSZmW7ZQ5IbTKmC8lPJAuTZcDPkfVoy2LgWREGA9yz28ofIFd/SlEJmtf8p dV4s9jyB4FFFwns2J8T7GgXeBuxN7HzuO/XTNhDd+Gfp0Ns2/SNj2zNhf9sXyR1kuHNg 6+ZG40EK7aN0o/9QM9Kup15i3/UprgIz8hMjQiT28SW/XZBnlmI61Nze5WtMzSYpgrtp gL2g== 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=tB88WPOCCv/xWTCbzuPFu3PGx2YdVMTKsxmfSzBC/IakOO+OhbL4M5jZzyLlYDeMlO McPb4I4h5SVTllR/zVXVEXg073uPw8h0XZM8Bpd0xSR5fZfML+xfsSrttnBR/Fs6lJqq CgE73eo+g78G8hPDm2ezqqcFqUlFuP51qQvF+KU4gKXLSKwglQ8/QdiwXKyAWUQlhh5+ FukawV4IoGqVk6d1dzF9xrh7Dl7CTU7TYywWy6u273UzEgANGfaJF8M4vrb7a5iPAf3p BSxYHIGDWtKijOU7jZLfxLhhuN4nf0Z+aexcF20pfEM/YUcp2I/dhNVqb/53rOhOq0fK yFCw== X-Gm-Message-State: AGRZ1gKiyo+EcpBwGws5LN2h3cVEkxyJrWcMgBzoMtP/a3P3bQcyG8yG sNuxgWOyayY8iulKVIBRq0s= X-Google-Smtp-Source: AJdET5f7X7eCWJYEA+AGipie+aFbOeddYHCxOJMNJ2STdldTVRWDvnNSpIGLBnGD2MyZb2iOJffekw== X-Received: by 2002:a63:5664:: with SMTP id g36mr4308655pgm.313.1541014149773; Wed, 31 Oct 2018 12:29:09 -0700 (PDT) Received: from fainelli-desktop.igp.broadcom.net ([192.19.223.250]) by smtp.gmail.com with ESMTPSA id z26-v6sm28926456pfh.77.2018.10.31.12.29.07 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 31 Oct 2018 12:29:08 -0700 (PDT) From: Florian Fainelli To: linux-kernel@vger.kernel.org Subject: [PATCH v3 1/6] nds32: Remove phys_initrd_start and phys_initrd_size Date: Wed, 31 Oct 2018 12:28:38 -0700 Message-Id: <20181031192843.13230-2-f.fainelli@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181031192843.13230-1-f.fainelli@gmail.com> References: <20181031192843.13230-1-f.fainelli@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181031_122921_898071_675AFDE8 X-CRM114-Status: GOOD ( 12.21 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary: Content analysis details: (-0.2 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:541 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_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 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