search for: evtchns_per_bucket

Displaying 1 result from an estimated 1 matches for "evtchns_per_bucket".

2006 Oct 04
0
[PATCH,RFC 6/17] 32-on-64 shared info handling
...000000000 +0200 @@ -23,6 +23,7 @@ #include <xen/event.h> #include <xen/irq.h> #include <xen/iocap.h> +#include <xen/compat.h> #include <xen/guest_access.h> #include <asm/current.h> @@ -33,7 +34,7 @@ #define bucket_from_port(d,p) \ ((d)->evtchn[(p)/EVTCHNS_PER_BUCKET]) #define port_is_valid(d,p) \ - (((p) >= 0) && ((p) < MAX_EVTCHNS) && \ + (((p) >= 0) && ((p) < MAX_EVTCHNS(d)) && \ (bucket_from_port(d,p) != NULL)) #define evtchn_from_port(d,p) \ (&(bucket_from_port(d,p))[(p)&(EVTCHNS_PER...