Skip to content

kexec: Drop __weak attributes from functions

Naveen N. Rao kexec lkml 1 version Applied

Status from this message: [merged] kexec-drop-weak-attribute-from-functions.patch removed from -mm tree

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 3 repliesApplied 2/2

Patches in v1 All 2 applied

#Subject and filesSizeRepliesApplied
1/2kexec_file: Drop weak attribute from functionsarch/arm64/include/asm/kexec.h arch/powerpc/include/asm/kexec.h arch/s390/include/asm/kexec.h +3 more+61 -403 repliesApplied
2/2kexec: Drop weak attribute from functionsarch/arm64/include/asm/kexec.h arch/powerpc/include/asm/kexec.h arch/s390/include/asm/kexec.h +3 more+64 -330 repliesApplied

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

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/[email protected]

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

Signature · 1 line
2.36.1