[PATCH] ARM: mm: Fix warnings in context.c

shijie001 at 208suo.com shijie001 at 208suo.com
Wed Jul 12 02:06:32 PDT 2023


The following checkpatch warning is removed:
WARNING: Use #include <linux/mmu_context.h> instead of 
<asm/mmu_context.h>

Signed-off-by: Jie Shi <shijie001 at 208suo.com>
---
  arch/arm/mm/context.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/mm/context.c b/arch/arm/mm/context.c
index 4204ffa2d104..c84ad6c786e7 100644
--- a/arch/arm/mm/context.c
+++ b/arch/arm/mm/context.c
@@ -13,7 +13,7 @@
  #include <linux/smp.h>
  #include <linux/percpu.h>

-#include <asm/mmu_context.h>
+#include <linux/mmu_context.h>
  #include <asm/smp_plat.h>
  #include <asm/thread_notify.h>
  #include <asm/tlbflush.h>



More information about the linux-arm-kernel mailing list