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

Naveen N. Rao naveen.n.rao at linux.vnet.ibm.com
Fri Jul 1 00:34:03 PDT 2022


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@email.froward.int.ebiederm.org


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




More information about the kexec mailing list