git: 398702278762 - stable/15 - x86 xen: provide the prototype for xen_arch_intr_handle_upcall() in x86/apicvar.h

Konstantin Belousov <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.src
Message-ID <6a66a5d1.26de1.f299c57__22234.8160155647$1785112104$gmane$org@gitrepo.freebsd.org>
The branch stable/15 has been updated by kib:

URL: https://cgit.FreeBSD.org/src/commit/?id=398702278762c407adaab3d9f314ecb2d356d12b

commit 398702278762c407adaab3d9f314ecb2d356d12b
Author:     Konstantin Belousov <[email protected]>
AuthorDate: 2026-03-20 23:27:18 +0000
Commit:     Konstantin Belousov <[email protected]>
CommitDate: 2026-07-27 00:26:15 +0000

    x86 xen: provide the prototype for xen_arch_intr_handle_upcall() in x86/apicvar.h
    
    (cherry picked from commit 0e5b1384df10e9b9700047cb79c347874212d2a9)
---
 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 9eb874881641..2fa2732b7f1a 100644
--- a/sys/x86/include/apicvar.h
+++ b/sys/x86/include/apicvar.h
@@ -273,6 +273,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)
 {
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.