linux-stable/arch
Yuntao Wang 8474f82ade x86/kexec: simplify the logic of mem_region_callback()
The expression `mstart + resource_size(res) - 1` is actually equivalent to
`res->end`, simplify the logic of this function to improve readability.

Link: https://lkml.kernel.org/r/20231212150506.31711-1-ytcoode@gmail.com
Signed-off-by: Yuntao Wang <ytcoode@gmail.com>
Acked-by: Baoquan He <bhe@redhat.com>
Cc: Bjorn Helgaas <bhelgaas@google.com>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Dave Hansen <dave.hansen@linux.intel.com>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Simon Horman <horms@kernel.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2023-12-20 15:02:58 -08:00
..
alpha arch: turn off -Werror for architectures with known warnings 2023-12-10 17:21:33 -08:00
arc kprobes: unify kprobes_exceptions_nofify() prototypes 2023-11-10 19:59:05 +09:00
arm Merge branch 'master' into mm-hotfixes-stable 2023-12-06 17:03:50 -08:00
arm64 kexec_file, arm64: print out debugging message if required 2023-12-20 15:02:57 -08:00
csky Kbuild updates for v6.7 2023-11-04 08:07:19 -10:00
hexagon hexagon: traps: add internal prototypes for functions only called from asm 2023-12-10 17:21:37 -08:00
loongarch loongarch, kexec: change dependency of object files 2023-12-12 17:20:17 -08:00
m68k m68k, kexec: fix the incorrect ifdeffery and build dependency of CONFIG_KEXEC 2023-12-12 17:20:17 -08:00
microblaze asm-generic updates for v6.7 2023-11-01 15:28:33 -10:00
mips mips: fix r3k_cache_init build regression 2023-12-20 15:02:57 -08:00
nios2 vgacon, arch/*: remove unused screen_info definitions 2023-10-17 10:17:02 +02:00
openrisc
parisc kexec_file, parisc: print out debugging message if required 2023-12-20 15:02:57 -08:00
powerpc kexec_file, power: print out debugging message if required 2023-12-20 15:02:57 -08:00
riscv riscv, kexec: fix the ifdeffery for AFLAGS_kexec_relocate.o 2023-12-20 15:02:57 -08:00
s390 s390/traps: only define is_valid_bugaddr() under CONFIG_GENERIC_BUG 2023-12-10 17:21:38 -08:00
sh sh, kexec: fix the incorrect ifdeffery and dependency of CONFIG_KEXEC 2023-12-12 17:20:18 -08:00
sparc arch: turn off -Werror for architectures with known warnings 2023-12-10 17:21:33 -08:00
um
x86 x86/kexec: simplify the logic of mem_region_callback() 2023-12-20 15:02:58 -08:00
xtensa TTY/Serial changes for 6.7-rc1 2023-11-03 15:44:25 -10:00
.gitignore
Kconfig arch: remove ARCH_TASK_STRUCT_ON_STACK 2023-12-10 17:21:31 -08:00