Skip to contentSkip to conversation

LoongArch: Fix include order

PATCH Applied Charlie Jenkins 4 participants 4 messages May 7, 2025 LoongArch

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 LoongArch: Fix include order

Reorder some introduced include headers to keep alphabetical order.

Fixes 7ace1602abf2 ("LoongArch: entry: Migrate ret_from_fork() to C")

---
This is a very minor fix to a patch previously applied to the core/entry tip.

---
 arch/loongarch/kernel/process.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
arch/loongarch/kernel/process.c +2 -2
index 98bc60d7c550fcc0225e8452f81a7d6cd7888015..3582f591bab286c30127e715c47d485f74d5e2ca 100644
@@ -13,8 +13,8 @@
 #include <linux/cpu.h>
 #include <linux/init.h>
 #include <linux/kernel.h>
-#include <linux/errno.h>
 #include <linux/entry-common.h>
+#include <linux/errno.h>
 #include <linux/sched.h>
 #include <linux/sched/debug.h>
 #include <linux/sched/task.h>
@@ -34,8 +34,8 @@
 #include <linux/prctl.h>
 #include <linux/nmi.h>
 
-#include <asm/asm-prototypes.h>
 #include <asm/asm.h>
+#include <asm/asm-prototypes.h>
 #include <asm/bootinfo.h>
 #include <asm/cpu.h>
 #include <asm/elf.h>

---
base-commit: e43b8bb56e537bfc8d9076793091e7679020fc9c
change-id: 20250506-loongarch_include_order-bbf509faca15

Signature · 1 line
- Charlie
maintainer
#1 lore raw

Hi, Charlie,

Quoted 8 lines · Charlie Jenkins

Reorder some introduced include headers to keep alphabetical order.

Fixes 7ace1602abf2 ("LoongArch: entry: Migrate ret_from_fork() to C")

---
This is a very minor fix to a patch previously applied to the core/entry tip.

If possible, I prefer it to be squashed to the original patch.

Huacai

Quoted 35 lines
---
 arch/loongarch/kernel/process.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
arch/loongarch/kernel/process.c +2 -3
index 98bc60d7c550fcc0225e8452f81a7d6cd7888015..3582f591bab286c30127e715c47d485f74d5e2ca 100644
@@ -13,8 +13,8 @@
 #include <linux/cpu.h>
 #include <linux/init.h>
 #include <linux/kernel.h>
-#include <linux/errno.h>
 #include <linux/entry-common.h>
+#include <linux/errno.h>
 #include <linux/sched.h>
 #include <linux/sched/debug.h>
 #include <linux/sched/task.h>
@@ -34,8 +34,8 @@
 #include <linux/prctl.h>
 #include <linux/nmi.h>
 
-#include <asm/asm-prototypes.h>
 #include <asm/asm.h>
+#include <asm/asm-prototypes.h>
 #include <asm/bootinfo.h>
 #include <asm/cpu.h>
 #include <asm/elf.h>
 
---

base-commit: e43b8bb56e537bfc8d9076793091e7679020fc9c
change-id: 20250506-loongarch_include_order-bbf509faca15 --
- Charlie

#2 lore raw
Quoted 10 lines · Huacai Chen
Quoted 8 lines · Charlie Jenkins

Reorder some introduced include headers to keep alphabetical order.

Fixes 7ace1602abf2 ("LoongArch: entry: Migrate ret_from_fork() to C")

---
This is a very minor fix to a patch previously applied to the core/entry tip.

If possible, I prefer it to be squashed to the original patch.

The branch is immutable. It's fine to have it on top.

#3 lore raw

[tip: core/entry] LoongArch: entry: Fix include order

In reply to Charlie Jenkins
The following commit has been merged into the core/entry branch of tip:

The following commit has been merged into the core/entry branch of tip:

Commit-ID:     8278fd6006a02e3352d5230927c4576f53fb3b06
Gitweb:        https://git.kernel.org/tip/8278fd6006a02e3352d5230927c4576f53fb3b06
Author:        Charlie Jenkins <[email protected]>
AuthorDate:    Wed, 07 May 2025 00:11:30 -07:00
Committer:     Thomas Gleixner <[email protected]>
CommitterDate: Wed, 07 May 2025 11:05:57 +02:00

LoongArch: entry: Fix include order

Reorder some introduced include headers to keep alphabetical order.

Fixes 7ace1602abf2 ("LoongArch: entry: Migrate ret_from_fork() to C")
---
 arch/loongarch/kernel/process.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
arch/loongarch/kernel/process.c +2 -2
index 98bc60d..3582f59 100644
@@ -13,8 +13,8 @@
 #include <linux/cpu.h>
 #include <linux/init.h>
 #include <linux/kernel.h>
-#include <linux/errno.h>
 #include <linux/entry-common.h>
+#include <linux/errno.h>
 #include <linux/sched.h>
 #include <linux/sched/debug.h>
 #include <linux/sched/task.h>
@@ -34,8 +34,8 @@
 #include <linux/prctl.h>
 #include <linux/nmi.h>
 
-#include <asm/asm-prototypes.h>
 #include <asm/asm.h>
+#include <asm/asm-prototypes.h>
 #include <asm/bootinfo.h>
 #include <asm/cpu.h>
 #include <asm/elf.h>