git: 0e5b1384df10 - main - x86 xen: provide the prototype for xen_arch_intr_handle_upcall() in x86/apicvar.h
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 20 Jul 2026 21:51:36 UTC
The branch main has been updated by kib:
URL: https://cgit.FreeBSD.org/src/commit/?id=0e5b1384df10e9b9700047cb79c347874212d2a9
commit 0e5b1384df10e9b9700047cb79c347874212d2a9
Author: Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2026-03-20 23:27:18 +0000
Commit: Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2026-07-20 21:49:26 +0000
x86 xen: provide the prototype for xen_arch_intr_handle_upcall() in x86/apicvar.h
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D56005
---
sys/x86/include/apicvar.h | 2 ++
sys/x86/xen/xen_arch_intr.c | 1 -
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/sys/x86/include/apicvar.h b/sys/x86/include/apicvar.h
index 10dbc50a981b..00ec651be3d3 100644
--- a/sys/x86/include/apicvar.h
+++ b/sys/x86/include/apicvar.h
@@ -274,6 +274,8 @@ extern int x2apic_mode;
extern int lapic_eoi_suppression;
extern int apic_ext_dest_id;
+void xen_arch_intr_handle_upcall(struct trapframe *);
+
#ifdef _SYS_SYSCTL_H_
SYSCTL_DECL(_hw_apic);
#endif
diff --git a/sys/x86/xen/xen_arch_intr.c b/sys/x86/xen/xen_arch_intr.c
index dcf8b4aa35f1..adf3109e3d4a 100644
--- a/sys/x86/xen/xen_arch_intr.c
+++ b/sys/x86/xen/xen_arch_intr.c
@@ -77,7 +77,6 @@ SYSINIT(xen_intrcnt_init, SI_SUB_INTR, SI_ORDER_MIDDLE, xen_intrcnt_init, NULL);
* Transition from assembly language, called from
* sys/{amd64/amd64|i386/i386}/apic_vector.S
*/
-extern void xen_arch_intr_handle_upcall(struct trapframe *);
void
xen_arch_intr_handle_upcall(struct trapframe *trap_frame)
{