Merge branch 'asm-generic-prototypes' into asm-generic
authorArnd Bergmann <arnd@arndb.de>
Tue, 28 Nov 2023 17:25:37 +0000 (18:25 +0100)
committerArnd Bergmann <arnd@arndb.de>
Tue, 28 Nov 2023 17:25:37 +0000 (18:25 +0100)
commit0734f5c7eb15f9d3bbdacffe501eabdb8b1c01d2
treef166bc0686fd6b6376f81885c9d9f7288f86f7d8
parentd67a308ac5de5b24b678ee90759a3b2e4283c11e
parent7192ad2adde8213ad7c7f3b1ff974cccebae4d60
Merge branch 'asm-generic-prototypes' into asm-generic

As part of my quest to enable -Wmissing-prototypes by default,
these patches clean up some of the prototypes that are needed by all
architectures but are handled inconsistently.

The duplicate prototypes are moved into common code, which helps both
to clean up the existing warnings and simplifies the logic.

* asm-generic-prototypes:
  arm64: vdso32: Define BUILD_VDSO32_64 to correct prototypes
  csky: fix arch_jump_label_transform_static override
  arch: add do_page_fault prototypes
  arch: add missing prepare_ftrace_return() prototypes
  arch: vdso: consolidate gettime prototypes
  arch: include linux/cpu.h for trap_init() prototype
  arch: fix asm-offsets.c building with -Wmissing-prototypes
  arch: consolidate arch_irq_work_raise prototypes