aboutsummaryrefslogtreecommitdiffstats
path: root/tools/libxc/xc_physdev.c
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2008-07-24 14:18:58 +0100
committerKeir Fraser <keir.fraser@citrix.com>2008-07-24 14:18:58 +0100
commit6f79893756dd778aea1fb8c42efa4b4832da5d7a (patch)
tree3a8662ef69116b5d70f3ce86c5cd087979542444 /tools/libxc/xc_physdev.c
parent26b4c342ea857c2f6831ceb6e2bacb6064d82c1f (diff)
downloadxen-6f79893756dd778aea1fb8c42efa4b4832da5d7a.tar.gz
xen-6f79893756dd778aea1fb8c42efa4b4832da5d7a.tar.bz2
xen-6f79893756dd778aea1fb8c42efa4b4832da5d7a.zip
tools: remove type parameter from xc_physdev_map_pirq{,_msi}()
... as it's implied by the function name. Signed-off-by: Jan Beulich <jbeulich@novell.com>
Diffstat (limited to 'tools/libxc/xc_physdev.c')
-rw-r--r--tools/libxc/xc_physdev.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/tools/libxc/xc_physdev.c b/tools/libxc/xc_physdev.c
index 2b619664cb..b320f19dc8 100644
--- a/tools/libxc/xc_physdev.c
+++ b/tools/libxc/xc_physdev.c
@@ -22,7 +22,6 @@ int xc_physdev_pci_access_modify(int xc_handle,
int xc_physdev_map_pirq(int xc_handle,
int domid,
- int type,
int index,
int *pirq)
{
@@ -33,7 +32,7 @@ int xc_physdev_map_pirq(int xc_handle,
return -EINVAL;
map.domid = domid;
- map.type = type;
+ map.type = MAP_PIRQ_TYPE_GSI;
map.index = index;
map.pirq = *pirq;
@@ -47,7 +46,6 @@ int xc_physdev_map_pirq(int xc_handle,
int xc_physdev_map_pirq_msi(int xc_handle,
int domid,
- int type,
int index,
int *pirq,
int devfn,
@@ -62,7 +60,7 @@ int xc_physdev_map_pirq_msi(int xc_handle,
return -EINVAL;
map.domid = domid;
- map.type = type;
+ map.type = MAP_PIRQ_TYPE_MSI;
map.index = index;
map.pirq = *pirq;
map.msi_info.devfn = devfn;