linux/arch/powerpc/kernel/ptrace
Christophe Leroy 76222808fc powerpc: Move C prototypes out of asm-prototypes.h
We originally added asm-prototypes.h in commit 42f5b4cacd ("powerpc:
Introduce asm-prototypes.h"). It's purpose was for prototypes of C
functions that are only called from asm, in order to fix sparse
warnings about missing prototypes.

A few months later Nick added a different use case in
commit 4efca4ed05 ("kbuild: modversions for EXPORT_SYMBOL() for asm")
for C prototypes for exported asm functions. This is basically the
inverse of our original usage.

Since then we've added various prototypes to asm-prototypes.h for both
reasons, meaning we now need to unstitch it all.

Dispatch prototypes of C functions into relevant headers and keep
only the prototypes for functions defined in assembly.

For the time being, leave prom_init() there because moving it
into asm/prom.h or asm/setup.h conflicts with
drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadowrom.o
This will be fixed later by untaggling asm/pci.h and asm/prom.h
or by renaming the function in shadowrom.c

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/62d46904eca74042097acf4cb12c175e3067f3d1.1646413435.git.christophe.leroy@csgroup.eu
2022-03-08 22:06:25 +11:00
..
Makefile powerpc/ptrace: Don't return error when getting/setting FP regs without CONFIG_PPC_FPU_REGS 2021-04-02 00:15:37 +11:00
ptrace32.c powerpc: remove partial register save logic 2021-04-14 23:04:44 +10:00
ptrace-adv.c powerpc/64s: avoid reloading (H)SRR registers if they are still valid 2021-06-25 00:06:55 +10:00
ptrace-altivec.c powerpc: switch to ->regset_get() 2020-07-27 14:31:07 -04:00
ptrace-decl.h powerpc/ptrace: Don't return error when getting/setting FP regs without CONFIG_PPC_FPU_REGS 2021-04-02 00:15:37 +11:00
ptrace-fpu.c powerpc/ptrace: Don't return error when getting/setting FP regs without CONFIG_PPC_FPU_REGS 2021-04-02 00:15:37 +11:00
ptrace-noadv.c powerpc/64s: avoid reloading (H)SRR registers if they are still valid 2021-06-25 00:06:55 +10:00
ptrace-novsx.c powerpc/ptrace: Don't return error when getting/setting FP regs without CONFIG_PPC_FPU_REGS 2021-04-02 00:15:37 +11:00
ptrace-spe.c powerpc: switch to ->regset_get() 2020-07-27 14:31:07 -04:00
ptrace-tm.c powerpc/ptrace: Hard wire PT_SOFTE value to 1 in gpr_get() too 2020-11-26 22:05:42 +11:00
ptrace-view.c powerpc: Use the newly added is_tsk_32bit_task() macro 2022-02-12 22:47:42 +11:00
ptrace-vsx.c powerpc: switch to ->regset_get() 2020-07-27 14:31:07 -04:00
ptrace.c powerpc: Move C prototypes out of asm-prototypes.h 2022-03-08 22:06:25 +11:00