blob: ddb777b9d1191a145c8f746336790a738037ae58 [file] [log] [blame]
From: Cheng-Han Wu <hank20010209@gmail.com>
Subject: mm: remove unused macro INIT_PASID
Date: Sun, 27 Apr 2025 22:50:04 +0800
The macro INIT_PASID was originally used by mm_init_pasid. However, since
commit a6cbd44093ef ("kernel/fork: Initialize mm's PASID"), mm_init_pasid
has been removed. Therefore, INIT_PASID is no longer needed and is
removed.
Link: https://lkml.kernel.org/r/20250427145004.13049-1-hank20010209@gmail.com
Signed-off-by: Cheng-Han Wu <hank20010209@gmail.com>
Reviewed-by: Anshuman Khandual <anshuman.khandual@arm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
include/linux/mm_types.h | 1 -
1 file changed, 1 deletion(-)
--- a/include/linux/mm_types.h~mm-remove-unused-macro-init_pasid
+++ a/include/linux/mm_types.h
@@ -28,7 +28,6 @@
#endif
#define AT_VECTOR_SIZE (2*(AT_VECTOR_SIZE_ARCH + AT_VECTOR_SIZE_BASE + 1))
-#define INIT_PASID 0
struct address_space;
struct mem_cgroup;
_