aboutsummaryrefslogtreecommitdiffstats
path: root/tools/debugger/pdb/pdb_xen.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/debugger/pdb/pdb_xen.c')
-rw-r--r--tools/debugger/pdb/pdb_xen.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/tools/debugger/pdb/pdb_xen.c b/tools/debugger/pdb/pdb_xen.c
index e89f364f61..b2c994c188 100644
--- a/tools/debugger/pdb/pdb_xen.c
+++ b/tools/debugger/pdb/pdb_xen.c
@@ -43,11 +43,7 @@ pdb_close (int xc_handle)
#include <sys/ioctl.h>
-
-/* /dev/xen/evtchn ioctls */
-#define EVTCHN_RESET _IO('E', 1) /* clear & reinit buffer */
-#define EVTCHN_BIND _IO('E', 2) /* bind to event channel */
-#define EVTCHN_UNBIND _IO('E', 3) /* unbind from event channel */
+#include <xen/linux/evtchn.h>
int
xen_evtchn_bind (int evtchn_fd, int idx)