VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   33 Branches   55 Tags
author: Yan Yankovskyi <yyankovskyi@gmail.com> 2020-03-23 18:15:11 +0200 committer: Juergen Gross <jgross@suse.com> 2020-04-07 12:12:54 +0200 commit: 0102e4efda76d0721bc744dd80258eb6cfa25fc3 parent: c3881eb58d56116c79ac4ee4f40fd15ead124c4b
Commit Summary:
xen: Use evtchn_type_t as a type for event channels
Diffstat:
1 file changed, 2 insertions, 1 deletion
diff --git a/drivers/xen/gntdev-common.h b/drivers/xen/gntdev-common.h
index 9a3960ecff6c..20d7d059dadb 100644
--- a/drivers/xen/gntdev-common.h
+++ b/drivers/xen/gntdev-common.h
@@ -15,6 +15,7 @@
 #include <linux/mman.h>
 #include <linux/mmu_notifier.h>
 #include <linux/types.h>
+#include <xen/interface/event_channel.h>
 
 struct gntdev_dmabuf_priv;
 
@@ -38,7 +39,7 @@ struct gntdev_unmap_notify {
 	int flags;
 	/* Address relative to the start of the gntdev_grant_map. */
 	int addr;
-	int event;
+	evtchn_port_t event;
 };
 
 struct gntdev_grant_map {