aboutsummaryrefslogtreecommitdiffstats
path: root/tools/ioemu
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/ioemu
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/ioemu')
-rw-r--r--tools/ioemu/hw/pass-through.c3
-rw-r--r--tools/ioemu/hw/pt-msi.c6
2 files changed, 3 insertions, 6 deletions
diff --git a/tools/ioemu/hw/pass-through.c b/tools/ioemu/hw/pass-through.c
index 0e17af915e..cfd0a7696b 100644
--- a/tools/ioemu/hw/pass-through.c
+++ b/tools/ioemu/hw/pass-through.c
@@ -2785,8 +2785,7 @@ struct pt_dev * register_real_device(PCIBus *e_bus,
int pirq = pci_dev->irq;
machine_irq = pci_dev->irq;
- rc = xc_physdev_map_pirq(xc_handle, domid, MAP_PIRQ_TYPE_GSI,
- machine_irq, &pirq);
+ rc = xc_physdev_map_pirq(xc_handle, domid, machine_irq, &pirq);
if ( rc )
{
diff --git a/tools/ioemu/hw/pt-msi.c b/tools/ioemu/hw/pt-msi.c
index 1936677335..68a952f059 100644
--- a/tools/ioemu/hw/pt-msi.c
+++ b/tools/ioemu/hw/pt-msi.c
@@ -37,8 +37,7 @@ int pt_msi_setup(struct pt_dev *dev)
return -1;
}
- if ( xc_physdev_map_pirq_msi(xc_handle, domid, MAP_PIRQ_TYPE_MSI,
- AUTO_ASSIGN, &pirq,
+ if ( xc_physdev_map_pirq_msi(xc_handle, domid, AUTO_ASSIGN, &pirq,
dev->pci_dev->dev << 3 | dev->pci_dev->func,
dev->pci_dev->bus, 0, 1) )
{
@@ -120,8 +119,7 @@ static int pt_msix_update_one(struct pt_dev *dev, int entry_nr)
/* Check if this entry is already mapped */
if ( entry->pirq == -1 )
{
- ret = xc_physdev_map_pirq_msi(xc_handle, domid, MAP_PIRQ_TYPE_MSI,
- AUTO_ASSIGN, &pirq,
+ ret = xc_physdev_map_pirq_msi(xc_handle, domid, AUTO_ASSIGN, &pirq,
dev->pci_dev->dev << 3 | dev->pci_dev->func,
dev->pci_dev->bus, entry_nr, 0);
if ( ret )