mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: huzhi001@208suo.com
To: tglx@linutronix.de, mingo@redhat.com, bp@alien8.de,
	dave.hansen@linux.intel.com, x86@kernel.org
Cc: hpa@zytor.com, linux-kernel@vger.kernel.org
Subject: [PATCH] x86/mm: Fix warnings in mmzone_32.h
Date: Wed, 12 Jul 2023 17:07:13 +0800	[thread overview]
Message-ID: <37068cae09dccc86b1ed2d6b3fdbde91@208suo.com> (raw)
In-Reply-To: <tencent_D97F5A9B657B360DB521D53075270C09F608@qq.com>

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[];

           reply	other threads:[~2023-07-12  9:07 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <tencent_D97F5A9B657B360DB521D53075270C09F608@qq.com>]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=37068cae09dccc86b1ed2d6b3fdbde91@208suo.com \
    --to=huzhi001@208suo.com \
    --cc=bp@alien8.de \
    --cc=dave.hansen@linux.intel.com \
    --cc=hpa@zytor.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@redhat.com \
    --cc=tglx@linutronix.de \
    --cc=x86@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®