From 7bc36d605365dfd011b10da42a84ac53f0cd442d Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Sat, 24 Dec 2022 17:44:58 +0100 Subject: Xen: Fix ivect prototype 448889a4f0c3 ("Use -Wstrict-prototypes and fix warnings") simplified the prototype of ivect, so we have to update the Xen version. --- xen/evt.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'xen/evt.c') diff --git a/xen/evt.c b/xen/evt.c index 296101aa..0ff5c694 100644 --- a/xen/evt.c +++ b/xen/evt.c @@ -30,7 +30,7 @@ int int_mask[NSPL]; spl_t curr_ipl; -void (*ivect[NEVNT])(); +interrupt_handler_fn ivect[NEVNT]; int intpri[NEVNT]; int iunit[NEVNT]; @@ -63,7 +63,7 @@ void hyp_c_callback(void *ret_addr, void *regs) if (ivect[n]) { spl_t spl = splx(intpri[n]); asm ("lock; and %1,%0":"=m"(hyp_shared_info.evtchn_pending[i]):"r"(~(1UL<