lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20231221054624.2208019-1-guoren@kernel.org>
Date: Thu, 21 Dec 2023 00:46:24 -0500
From: guoren@...nel.org
To: chenhuacai@...nel.org,
	kernel@...0n.name,
	zhangqing@...ngson.cn,
	huqi@...ngson.cn
Cc: loongarch@...ts.linux.dev,
	linux-kernel@...r.kernel.org,
	Guo Ren <guoren@...ux.alibaba.com>,
	Guo Ren <guoren@...nel.org>
Subject: [PATCH] loongarch: mm: Remove unused TASK_SIZE_MIN

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

Remove TASK_SIZE_MIN because it's not used anymore.

Signed-off-by: Guo Ren <guoren@...ux.alibaba.com>
Signed-off-by: Guo Ren <guoren@...nel.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


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ