[PATCH 0/2] kexec: Drop __weak attributes from functions

From: Naveen N. Rao
Date: Fri Jul 01 2022 - 03:35:50 EST


As requested [1], this series converts weak functions in kexec to use
the #ifdef approach. I have compile-tested this series on arm64,
powerpc, s390 and x86_64.

- Naveen

[1] http://lkml.kernel.org/r/87ee0q7b92.fsf@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx


Naveen N. Rao (2):
kexec_file: Drop weak attribute from functions
kexec: Drop weak attribute from functions

arch/arm64/include/asm/kexec.h | 18 +++++++-
arch/powerpc/include/asm/kexec.h | 14 ++++++
arch/s390/include/asm/kexec.h | 14 ++++++
arch/x86/include/asm/kexec.h | 12 +++++
include/linux/kexec.h | 76 +++++++++++++++++++++++++++-----
kernel/kexec_core.c | 27 ------------
kernel/kexec_file.c | 35 +--------------
7 files changed, 124 insertions(+), 72 deletions(-)


base-commit: 13fa82df3449770de37197fa51b610ffc788f555
--
2.36.1