Re: [PATCH] mm: Fix warnings in pgtable_32.h
From: Randy Dunlap
Date: Wed Jul 12 2023 - 11:06:59 EST
Hi,
On 7/12/23 07:00, huzhi001@xxxxxxxxxx wrote:
> The following checkpatch warnings are removed:
> WARNING: Use #include <linux/processor.h> instead of <asm/processor.h>
>
> Signed-off-by: ZhiHu <huzhi001@xxxxxxxxxx>
Do you compile-test your changes?
> ---
> arch/x86/include/asm/pgtable_32.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/x86/include/asm/pgtable_32.h b/arch/x86/include/asm/pgtable_32.h
> index 7d4ad8907297..f4c155055035 100644
> --- a/arch/x86/include/asm/pgtable_32.h
> +++ b/arch/x86/include/asm/pgtable_32.h
> @@ -14,7 +14,7 @@
> * the i386 page table tree.
> */
> #ifndef __ASSEMBLY__
> -#include <asm/processor.h>
> +#include <linux/processor.h>
> #include <linux/threads.h>
> #include <asm/paravirt.h>
--
~Randy