]>
Commit | Line | Data |
---|---|---|
7dd38574 JB |
1 | --- xen-4.2.1/tools/debugger/gdbsx/xg/xg_main.c.orig 2012-12-17 16:00:22.000000000 +0100 |
2 | +++ xen-4.2.1/tools/debugger/gdbsx/xg/xg_main.c 2013-01-13 08:38:22.865825568 +0100 | |
3 | @@ -178,7 +178,7 @@ | |
4 | hypercall.op = __HYPERVISOR_domctl; | |
5 | hypercall.arg[0] = (unsigned long)&domctl; | |
6 | ||
7 | - rc = ioctl(_dom0_fd, IOCTL_PRIVCMD_HYPERCALL, (ulong)&hypercall); | |
8 | + rc = ioctl(_dom0_fd, IOCTL_PRIVCMD_HYPERCALL, (unsigned long)&hypercall); | |
9 | if (domctlarg && sz) | |
10 | munlock(domctlarg, sz); | |
11 | return rc; | |
12 | @@ -218,7 +218,7 @@ | |
13 | hypercall.arg[0] = (unsigned long)XENVER_capabilities; | |
14 | hypercall.arg[1] = (unsigned long)&xen_caps; | |
15 | ||
16 | - rc = ioctl(_dom0_fd, IOCTL_PRIVCMD_HYPERCALL, (ulong)&hypercall); | |
17 | + rc = ioctl(_dom0_fd, IOCTL_PRIVCMD_HYPERCALL, (unsigned long)&hypercall); | |
18 | munlock(&xen_caps, sizeof(xen_caps)); | |
19 | XGTRC("XENCAPS:%s\n", xen_caps); | |
20 |