LoongArch architecture development
 help / color / mirror / Atom feed
From: guoren@kernel.org
To: chenhuacai@kernel.org, kernel@xen0n.name, zhangqing@loongson.cn,
	huqi@loongson.cn
Cc: loongarch@lists.linux.dev, linux-kernel@vger.kernel.org,
	Guo Ren <guoren@linux.alibaba.com>, Guo Ren <guoren@kernel.org>
Subject: [PATCH] loongarch: mm: Remove unused TASK_SIZE_MIN
Date: Thu, 21 Dec 2023 00:46:24 -0500	[thread overview]
Message-ID: <20231221054624.2208019-1-guoren@kernel.org> (raw)

From: Guo Ren <guoren@linux.alibaba.com>

Remove TASK_SIZE_MIN because it's not used anymore.

Signed-off-by: Guo Ren <guoren@linux.alibaba.com>
Signed-off-by: Guo Ren <guoren@kernel.org>
---
 arch/loongarch/include/asm/processor.h | 2 --
 1 file changed, 2 deletions(-)

diff --git a/arch/loongarch/include/asm/processor.h b/arch/loongarch/include/asm/processor.h
index c3bc44b5f5b3..99c80396f63a 100644
--- a/arch/loongarch/include/asm/processor.h
+++ b/arch/loongarch/include/asm/processor.h
@@ -20,7 +20,6 @@
 #ifdef CONFIG_32BIT
 
 #define TASK_SIZE	0x80000000UL
-#define TASK_SIZE_MIN	TASK_SIZE
 #define STACK_TOP_MAX	TASK_SIZE
 
 #define TASK_IS_32BIT_ADDR 1
@@ -33,7 +32,6 @@
 #define TASK_SIZE64     (0x1UL << ((cpu_vabits > VA_BITS) ? VA_BITS : cpu_vabits))
 
 #define TASK_SIZE	(test_thread_flag(TIF_32BIT_ADDR) ? TASK_SIZE32 : TASK_SIZE64)
-#define TASK_SIZE_MIN	TASK_SIZE32
 #define STACK_TOP_MAX	TASK_SIZE64
 
 #define TASK_SIZE_OF(tsk)						\
-- 
2.40.1


                 reply	other threads:[~2023-12-21  5:46 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20231221054624.2208019-1-guoren@kernel.org \
    --to=guoren@kernel.org \
    --cc=chenhuacai@kernel.org \
    --cc=guoren@linux.alibaba.com \
    --cc=huqi@loongson.cn \
    --cc=kernel@xen0n.name \
    --cc=linux-kernel@vger.kernel.org \
    --cc=loongarch@lists.linux.dev \
    --cc=zhangqing@loongson.cn \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox