Skip to contentSkip to conversation

mm: Fix warnings in pgtable_32.h

PATCH In review [email protected] 2 participants 2 messages Jul 12, 2023 1 message not in the archive x86

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

PATCH 1/1 mm: Fix warnings in pgtable_32.h

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

---
 arch/x86/include/asm/pgtable_32.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/x86/include/asm/pgtable_32.h +1 -1
index 7d4ad8907297..f4c155055035 100644
@@ -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>
#2 lore raw

Hi,

Quoted 4 lines · On 7/12/23 07:00, [email protected] wrote:

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

Do you compile-test your changes?

Quoted 16 lines

---
 arch/x86/include/asm/pgtable_32.h | 2 +-

 1 file changed, 1 insertion(+), 1 deletion(-)
arch/x86/include/asm/pgtable_32.h +1 -1
index 7d4ad8907297..f4c155055035 100644
@@ -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>
Signature · 1 line
~Randy