Arnd Bergmann fb9b7b4b2b x86: xen: add missing prototypes
These function are all called from assembler files, or from inline
assembler, so there is no immediate need for a prototype in a header,
but if -Wmissing-prototypes is enabled, the compiler warns about them:

arch/x86/xen/efi.c:130:13: error: no previous prototype for 'xen_efi_init' [-Werror=missing-prototypes]
arch/x86/platform/pvh/enlighten.c:120:13: error: no previous prototype for 'xen_prepare_pvh' [-Werror=missing-prototypes]
arch/x86/xen/enlighten_pv.c:1233:34: error: no previous prototype for 'xen_start_kernel' [-Werror=missing-prototypes]
arch/x86/xen/irq.c:22:14: error: no previous prototype for 'xen_force_evtchn_callback' [-Werror=missing-prototypes]
arch/x86/entry/common.c:302:24: error: no previous prototype for 'xen_pv_evtchn_do_upcall' [-Werror=missing-prototypes]

Declare all of them in an appropriate header file to avoid the warnings.
For consistency, also move the asm_cpu_bringup_and_idle() declaration
out of smp_pv.c.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Juergen Gross <jgross@suse.com>
Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Link: https://lore.kernel.org/r/20230614073501.10101-3-jgross@suse.com
Signed-off-by: Juergen Gross <jgross@suse.com>
2023-06-26 07:47:11 +02:00
..
2023-05-05 12:56:55 -07:00
2023-05-05 12:56:55 -07:00
2023-06-22 17:54:10 -07:00
2023-06-23 16:21:59 -07:00
2023-05-04 12:25:05 -07:00
2023-05-05 12:56:55 -07:00
2023-05-05 12:56:55 -07:00
2023-05-05 12:56:55 -07:00
2023-06-22 17:49:40 -07:00
2023-06-09 09:29:51 -07:00
2023-05-05 12:56:55 -07:00
2023-05-05 12:56:55 -07:00
2023-05-10 00:21:30 +02:00
2023-06-26 07:47:11 +02:00
2023-05-23 15:21:34 -07:00