git: ed917e0faea8 - main - xen/intr: correct type of evtchn_enabled

From: Roger Pau Monné <royger_at_FreeBSD.org>
Date: Fri, 15 Dec 2023 13:59:46 UTC
The branch main has been updated by royger:

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

commit ed917e0faea8453551b0ee9728c5d328e2e3e412
Author:     Elliott Mitchell <ehem+freebsd@m5p.com>
AuthorDate: 2023-12-02 15:29:43 +0000
Commit:     Roger Pau Monné <royger@FreeBSD.org>
CommitDate: 2023-12-15 13:59:25 +0000

    xen/intr: correct type of evtchn_enabled
    
    evtchn_enabled needs to match the type of Xen's evtchn_mask.  As Xen's
    headers have a type for this, use Xen's type.
    
    Reviewed by: royger
---
 sys/dev/xen/bus/xen_intr.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/dev/xen/bus/xen_intr.c b/sys/dev/xen/bus/xen_intr.c
index 75750aa5b0bf..3e44c05ceeb7 100644
--- a/sys/dev/xen/bus/xen_intr.c
+++ b/sys/dev/xen/bus/xen_intr.c
@@ -84,7 +84,7 @@ struct xen_intr_pcpu_data {
 	 * A bitmap of ports that can be serviced from this CPU.
 	 * A set bit means interrupt handling is enabled.
 	 */
-	u_long	evtchn_enabled[sizeof(u_long) * 8];
+	xen_ulong_t	evtchn_enabled[sizeof(xen_ulong_t) * 8];
 };
 
 /*