LoongArch: Fix include order
PATCH 1/1 LoongArch: Fix include order
Reorder some introduced include headers to keep alphabetical order.
---
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
@@ -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
Huacai Chen
maintainerHi, Charlie,
Quoted 8 lines · Charlie Jenkins
Reorder some introduced include headers to keep alphabetical order.
Signed-off-by Charlie Jenkins <[email protected]>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@@ -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
Quoted 10 lines · Huacai Chen
Quoted 8 lines · Charlie Jenkins
Reorder some introduced include headers to keep alphabetical order.
Signed-off-by Charlie Jenkins <[email protected]>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.
[tip: core/entry] LoongArch: entry: Fix include order
In reply to Charlie JenkinsThe 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.
--- arch/loongarch/kernel/process.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
arch/loongarch/kernel/process.c +2 -2
@@ -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>