[PATCH v2 1/7] mm: change mm/pt_reclaim.c to use asm/tlb.h instead of asm-generic/tlb.h
Qi Zheng
qi.zheng at linux.dev
Tue Nov 18 23:31:18 PST 2025
From: Qi Zheng <zhengqi.arch at bytedance.com>
Generally, the asm/tlb.h will include asm-generic/tlb.h, so change
mm/pt_reclaim.c to use asm/tlb.h instead of asm-generic/tlb.h. This can
also fix compilation errors on some architecture when CONFIG_PT_RECLAIM
is enabled (such as alpha).
Signed-off-by: Qi Zheng <zhengqi.arch at bytedance.com>
---
mm/pt_reclaim.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mm/pt_reclaim.c b/mm/pt_reclaim.c
index 0d9cfbf4fe5d8..46771cfff8239 100644
--- a/mm/pt_reclaim.c
+++ b/mm/pt_reclaim.c
@@ -2,7 +2,7 @@
#include <linux/hugetlb.h>
#include <linux/pgalloc.h>
-#include <asm-generic/tlb.h>
+#include <asm/tlb.h>
#include "internal.h"
--
2.20.1
More information about the linux-um
mailing list