[PATCH] x86/mm: Fix warnings in mmzone_32.h

From: huzhi001
Date: Wed Jul 12 2023 - 05:07:47 EST


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

Signed-off-by: ZhiHu <huzhi001@xxxxxxxxxx>
---
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[];