Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp234962rdb; Thu, 21 Dec 2023 07:48:00 -0800 (PST) X-Google-Smtp-Source: AGHT+IGEXs9BRA6r4Dr9ocBzMhVUpSeOvbFheYhP5ohRzbhFs1IXLoYZAh9yK9Hyro+leqscRHhH X-Received: by 2002:a37:ef04:0:b0:781:27c5:4824 with SMTP id j4-20020a37ef04000000b0078127c54824mr196344qkk.58.1703173679838; Thu, 21 Dec 2023 07:47:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703173679; cv=none; d=google.com; s=arc-20160816; b=tyTFkFfKOeS6P/WZqXJd9fC8bfWU2OX4NLQg3D2ZZqmK9iyeiBilPhsKEqadg95Hjo K68qur1BI9sofoCi7h6R4hYsFH5gA/B89regQF85j1RtsH35lCROp7CLFE9MnLwMtCrj bdiyUax2oMBxOkvJL6S8H+nTH8r7NH0CgdizaKZ6BVi3mmCb2jsKCuJfIOv4Aa4Ukph/ zz/wGukyXFIOpFdSHDS1NumcpWwCDcS6X40lrS00eSGi8CUBrd88v0SyWB82yT6+zysf x0rE8DROiVVf0M+XInH9H5IMyro+AcK4vRMf70N2gDgzxeK3JlnnchxaFW3sP46hAeZ4 Fe+A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=+mUF6QgbdC5WAZt0C5LM7EcWTcYs+SDBgkdJpnvjhHo=; fh=+2B64yVuborNRhR0hRJ4G06jDIODc2br0dk92JgFIMw=; b=jgzKzhELX1zCmktQ0eq2zcKg2OsEU7Qq3oHxoiaFBxTHuzZQE9ZUPJa6Nb8CzM/HOW LzuutKzzI+NqRcTpkzUQRatgU12dNgZBC/npN57oMY7VPpSC9rLczbK7KoNKKWad4q+N QPIDxfDbgUwHinUt96PUZVy+uRMy30m2+EZvvLdgaUr5STkE48toWUxzqx9VFcfqSzxJ OIz++s8NzS5jKPdASWpRukmG9wyi035KY6eJthp/bqbgprSFff/UAQoqA4JF0Mt+4r4S 4htulpZXdkb5yS0mvaf+EEyYOj1RmtMCVGZ4vxPZdfTXS0uKDPahW2MFT3cKK2W88qUa pg5A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=CgB0V+Jg; spf=pass (google.com: domain of linux-kernel+bounces-8705-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-8705-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id qs12-20020a05620a394c00b0077eff4d54b3si2637831qkn.261.2023.12.21.07.47.59 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Dec 2023 07:47:59 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-8705-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=CgB0V+Jg; spf=pass (google.com: domain of linux-kernel+bounces-8705-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-8705-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 9995A1C25F6C for ; Thu, 21 Dec 2023 15:47:59 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 19FF75820F; Thu, 21 Dec 2023 15:47:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="CgB0V+Jg" X-Original-To: linux-kernel@vger.kernel.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5343258215 for ; Thu, 21 Dec 2023 15:47:21 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 98E87C433C9; Thu, 21 Dec 2023 15:47:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1703173641; bh=6UdCU34QB2Jmf2RjW8+f6vf0kvi9jkFwVt1GuOPbhWU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=CgB0V+JgevKv68oSzprvvmES0zf5NYWiDKBW18gsxXShgft2Goop1S8a7mLFoT5l0 +rGKecm/9UuNuLwYdE7hr9fIyDiiecKjjmxLvtCUMUUZ6NT33DBHy3EuwYNty6beWu m54WfYoNUMG6eVMDoljKnDRfTixV1RYzkpy6afJ26+1JDdBk2BLAXU5lRJ4vQ+IEXr 1vEwskikoDkcJ/KJDvRNqPxmSQO1F0g/laB/c+eybU+7+Wjt7Iq0Pqm8zUxoly/WQF c0HI0oKrzX8K3Dzj8b/JUteTjfZwqBiqJXiIlLAXpJEatNQCozmCg9lNjo5H/zk85n bazdYY014sD7g== From: guoren@kernel.org To: linux-kernel@vger.kernel.org, paul.walmsley@sifive.com, palmer@dabbelt.com, alexghiti@rivosinc.com, charlie@rivosinc.com, xiao.w.wang@intel.com, guoren@kernel.org, david@redhat.com, panqinglin2020@iscas.ac.cn, rick.p.edgecombe@intel.com, willy@infradead.org, bjorn@rivosinc.com, conor.dooley@microchip.com, cleger@rivosinc.com, leobras@redhat.com Cc: linux-riscv@lists.infradead.org, Guo Ren Subject: [PATCH V2 3/4] riscv: mm: Remove unused TASK_SIZE_MIN Date: Thu, 21 Dec 2023 10:47:00 -0500 Message-Id: <20231221154702.2267684-4-guoren@kernel.org> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20231221154702.2267684-1-guoren@kernel.org> References: <20231221154702.2267684-1-guoren@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: Guo Ren Remove TASK_SIZE_MIN because it's not used anymore. Signed-off-by: Guo Ren Signed-off-by: Guo Ren --- arch/riscv/include/asm/pgtable.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/riscv/include/asm/pgtable.h b/arch/riscv/include/asm/pgtable.h index 74ffb2178f54..e415582276ec 100644 --- a/arch/riscv/include/asm/pgtable.h +++ b/arch/riscv/include/asm/pgtable.h @@ -878,7 +878,6 @@ static inline pte_t pte_swp_clear_exclusive(pte_t pte) */ #ifdef CONFIG_64BIT #define TASK_SIZE_64 (PGDIR_SIZE * PTRS_PER_PGD / 2) -#define TASK_SIZE_MIN (PGDIR_SIZE_L3 * PTRS_PER_PGD / 2) #ifdef CONFIG_COMPAT #define TASK_SIZE_32 (_AC(0x80000000, UL)) @@ -890,7 +889,6 @@ static inline pte_t pte_swp_clear_exclusive(pte_t pte) #else #define TASK_SIZE FIXADDR_START -#define TASK_SIZE_MIN TASK_SIZE #endif #else /* CONFIG_MMU */ -- 2.40.1