mm: remove unused macro INIT_PASID
Subsystems (2)
PATCH 1/1 mm: remove unused macro INIT_PASID
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.
Signed-off-by Cheng-Han Wu <[email protected]>
--- include/linux/mm_types.h | 1 - 1 file changed, 1 deletion(-)
include/linux/mm_types.h +0 -1
@@ -28,7 +28,6 @@#endif #define AT_VECTOR_SIZE (2*(AT_VECTOR_SIZE_ARCH + AT_VECTOR_SIZE_BASE + 1)) -#define INIT_PASID 0struct address_space ;struct mem_cgroup ;
Signature · 1 line
2.49.0
Quoted 15 lines · Cheng-Han Wu
The macro
INIT_PASIDwas originally used bymm_init_pasid. However, since commita6cbd44093ef("kernel/fork: Initialize mm's PASID"),mm_init_pasidhas been removed.
Therefore,INIT_PASIDis no longer needed and is removed.Signed-off-by Cheng-Han Wu <[email protected]>--- include/linux/mm_types.h | 1 - 1 file changed, 1 deletion(-)include/linux/mm_types.h +0
-0
include/linux/mm_types.h line 33
Quoted 7 lines
include/linux/mm_types.h +0
-1@@ -28,7 +28,6 @@#endif #define AT_VECTOR_SIZE (2*(AT_VECTOR_SIZE_ARCH + AT_VECTOR_SIZE_BASE + 1)) -#define INIT_PASID 0struct address_space ;struct mem_cgroup ;
Reviewed-by Anshuman Khandual <[email protected]>