mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] x86/mm: Fix warnings in mmzone_32.h
       [not found] <tencent_D97F5A9B657B360DB521D53075270C09F608@qq.com>
@ 2023-07-12  9:07 ` huzhi001
  0 siblings, 0 replies; only message in thread
From: huzhi001 @ 2023-07-12  9:07 UTC (permalink / raw)
  To: tglx, mingo, bp, dave.hansen, x86; +Cc: hpa, linux-kernel

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

Signed-off-by: ZhiHu <huzhi001@208suo.com>
---
  arch/x86/include/asm/mmzone_32.h | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/x86/include/asm/mmzone_32.h 
b/arch/x86/include/asm/mmzone_32.h
index 2d4515e8b7df..97ca734a5de9 100644
--- a/arch/x86/include/asm/mmzone_32.h
+++ b/arch/x86/include/asm/mmzone_32.h
@@ -7,7 +7,7 @@
  #ifndef _ASM_X86_MMZONE_32_H
  #define _ASM_X86_MMZONE_32_H

-#include <asm/smp.h>
+#include <linux/smp.h>

  #ifdef CONFIG_NUMA
  extern struct pglist_data *node_data[];

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-07-12  9:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <tencent_D97F5A9B657B360DB521D53075270C09F608@qq.com>
2023-07-12  9:07 ` [PATCH] x86/mm: Fix warnings in mmzone_32.h huzhi001

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

all inboxes | Powered by JetHome®