]> git.pld-linux.org Git - packages/xen.git/blobdiff - xen-ulong.patch
- added ulong patch (one more build fix for current glibc/linux)
[packages/xen.git] / xen-ulong.patch
diff --git a/xen-ulong.patch b/xen-ulong.patch
new file mode 100644 (file)
index 0000000..9842e65
--- /dev/null
@@ -0,0 +1,20 @@
+--- xen-4.2.1/tools/debugger/gdbsx/xg/xg_main.c.orig   2012-12-17 16:00:22.000000000 +0100
++++ xen-4.2.1/tools/debugger/gdbsx/xg/xg_main.c        2013-01-13 08:38:22.865825568 +0100
+@@ -178,7 +178,7 @@
+     hypercall.op = __HYPERVISOR_domctl;
+     hypercall.arg[0] = (unsigned long)&domctl;
+-    rc = ioctl(_dom0_fd, IOCTL_PRIVCMD_HYPERCALL, (ulong)&hypercall);
++    rc = ioctl(_dom0_fd, IOCTL_PRIVCMD_HYPERCALL, (unsigned long)&hypercall);
+     if (domctlarg && sz)
+         munlock(domctlarg, sz);
+     return rc;
+@@ -218,7 +218,7 @@
+     hypercall.arg[0] = (unsigned long)XENVER_capabilities;
+     hypercall.arg[1] = (unsigned long)&xen_caps;
+-    rc = ioctl(_dom0_fd, IOCTL_PRIVCMD_HYPERCALL, (ulong)&hypercall);
++    rc = ioctl(_dom0_fd, IOCTL_PRIVCMD_HYPERCALL, (unsigned long)&hypercall);
+     munlock(&xen_caps, sizeof(xen_caps));
+     XGTRC("XENCAPS:%s\n", xen_caps);
This page took 0.093935 seconds and 4 git commands to generate.