OSDN Git Service

[elf][non-regset] uninline elf_core_copy_task_fpregs() (and lose pt_regs argument)
authorAl Viro <viro@zeniv.linux.org.uk>
Sun, 4 Sep 2022 00:23:56 +0000 (20:23 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Fri, 25 Nov 2022 04:24:23 +0000 (23:24 -0500)
commitbdbadfcc37c5c8f9f2a401a18eae71b0c28799ee
tree63d35510613ef8b4a866beff0eb09e5c1ca0c964
parentfcf1492d6697fb22a4328260b0c76be12ed3badd
[elf][non-regset] uninline elf_core_copy_task_fpregs() (and lose pt_regs argument)

Don't bother with pointless macros - we are not sharing it with aout coredumps
anymore.  Just convert the underlying functions to the same arguments (nobody
uses regs, actually) and call them elf_core_copy_task_fpregs().  And unexport
the entire bunch, while we are at it.

[added missing includes in arch/{csky,m68k,um}/kernel/process.c to avoid extra
warnings about the lack of externs getting added to huge piles for those
files.  Pointless, but...]

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
arch/alpha/include/asm/elf.h
arch/alpha/kernel/process.c
arch/csky/kernel/process.c
arch/m68k/kernel/process.c
arch/microblaze/kernel/process.c
arch/um/kernel/process.c
arch/x86/um/asm/elf.h
fs/binfmt_elf.c
include/linux/elfcore.h