diff options
author | Arnd Bergmann <arnd@arndb.de> | 2023-05-17 14:45:07 +0200 |
---|---|---|
committer | Juergen Gross <jgross@suse.com> | 2023-06-26 07:47:11 +0200 |
commit | 04d684875b30393c3e5cd0daf2fa737b562a7ad9 (patch) | |
tree | 9743a5e96d658903ca907525fc0a030dde247a69 /arch/x86 | |
parent | Linux 6.4 (diff) | |
download | linux-04d684875b30393c3e5cd0daf2fa737b562a7ad9.tar.xz linux-04d684875b30393c3e5cd0daf2fa737b562a7ad9.zip |
xen: xen_debug_interrupt prototype to global header
The xen_debug_interrupt() function is only called on x86, which has a
prototype in an architecture specific header, but the definition also
exists on others, where the lack of a prototype causes a W=1 warning:
drivers/xen/events/events_2l.c:264:13: error: no previous prototype for 'xen_debug_interrupt' [-Werror=missing-prototypes]
Move the prototype into a global header instead to avoid this warning.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
Link: https://lore.kernel.org/r/20230517124525.929201-1-arnd@kernel.org
Signed-off-by: Juergen Gross <jgross@suse.com>
Diffstat (limited to 'arch/x86')
-rw-r--r-- | arch/x86/xen/xen-ops.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/x86/xen/xen-ops.h b/arch/x86/xen/xen-ops.h index a10903785a33..6d7f6318fc07 100644 --- a/arch/x86/xen/xen-ops.h +++ b/arch/x86/xen/xen-ops.h @@ -72,8 +72,6 @@ void xen_restore_time_memory_area(void); void xen_init_time_ops(void); void xen_hvm_init_time_ops(void); -irqreturn_t xen_debug_interrupt(int irq, void *dev_id); - bool xen_vcpu_stolen(int vcpu); void xen_vcpu_setup(int cpu); |