public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] mm: Fix warnings in pgtable_32.h
       [not found] <tencent_044DEB2A193CEC49B580CBDE6C846AE1AB09@qq.com>
@ 2023-07-12 14:00 ` huzhi001
  2023-07-12 15:06   ` Randy Dunlap
  0 siblings, 1 reply; 2+ messages in thread
From: huzhi001 @ 2023-07-12 14:00 UTC (permalink / raw)
  To: tglx, mingo, bp, dave.hansen, x86
  Cc: hpa, wangkefeng.wang, catalin.marinas, hca, guoren, linux-kernel

The following checkpatch warnings are removed:
WARNING: Use #include <linux/processor.h> instead of <asm/processor.h>

Signed-off-by: ZhiHu <huzhi001@208suo.com>
---
  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>

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] mm: Fix warnings in pgtable_32.h
  2023-07-12 14:00 ` [PATCH] mm: Fix warnings in pgtable_32.h huzhi001
@ 2023-07-12 15:06   ` Randy Dunlap
  0 siblings, 0 replies; 2+ messages in thread
From: Randy Dunlap @ 2023-07-12 15:06 UTC (permalink / raw)
  To: huzhi001, tglx, mingo, bp, dave.hansen, x86
  Cc: hpa, wangkefeng.wang, catalin.marinas, hca, guoren, linux-kernel

Hi,

On 7/12/23 07:00, huzhi001@208suo.com wrote:
> The following checkpatch warnings are removed:
> WARNING: Use #include <linux/processor.h> instead of <asm/processor.h>
> 
> Signed-off-by: ZhiHu <huzhi001@208suo.com>

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-07-12 15:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <tencent_044DEB2A193CEC49B580CBDE6C846AE1AB09@qq.com>
2023-07-12 14:00 ` [PATCH] mm: Fix warnings in pgtable_32.h huzhi001
2023-07-12 15:06   ` Randy Dunlap

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox