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

huzhi001@208suo.com posted 1 patch 2 years, 6 months ago
arch/x86/include/asm/mmzone_32.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] x86/mm: Fix warnings in mmzone_32.h
Posted by huzhi001@208suo.com 2 years, 6 months ago
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[];