public inbox for linux-kernel@vger.kernel.org
 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, wangkefeng.wang@huawei.com,
	catalin.marinas@arm.com, hca@linux.ibm.com, guoren@kernel.org,
	linux-kernel@vger.kernel.org
Subject: [PATCH] mm: Fix warnings in pgtable_32.h
Date: Wed, 12 Jul 2023 22:00:49 +0800	[thread overview]
Message-ID: <234fb4ac35ddddc43dfeef62c8377bbe@208suo.com> (raw)
In-Reply-To: <tencent_044DEB2A193CEC49B580CBDE6C846AE1AB09@qq.com>

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>

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

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <tencent_044DEB2A193CEC49B580CBDE6C846AE1AB09@qq.com>
2023-07-12 14:00 ` huzhi001 [this message]
2023-07-12 15:06   ` [PATCH] mm: Fix warnings in pgtable_32.h Randy Dunlap

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=234fb4ac35ddddc43dfeef62c8377bbe@208suo.com \
    --to=huzhi001@208suo.com \
    --cc=bp@alien8.de \
    --cc=catalin.marinas@arm.com \
    --cc=dave.hansen@linux.intel.com \
    --cc=guoren@kernel.org \
    --cc=hca@linux.ibm.com \
    --cc=hpa@zytor.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@redhat.com \
    --cc=tglx@linutronix.de \
    --cc=wangkefeng.wang@huawei.com \
    --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