Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 234203
b: refs/heads/master
c: 9a62661
h: refs/heads/master
i:
  234201: c170bad
  234199: fa2dd8f
v: v3
  • Loading branch information
Ian Campbell authored and Konrad Rzeszutek Wilk committed Mar 10, 2011
1 parent af4b597 commit b96712c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 4b41df7f6e0b5684378d9155773c42a4577e8582
refs/heads/master: 9a626612c2010699d9909a4c3141d3a38660f3b3
11 changes: 3 additions & 8 deletions trunk/arch/x86/pci/xen.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@
#include <asm/xen/pci.h>

#ifdef CONFIG_ACPI
static int xen_hvm_register_pirq(u32 gsi, int triggering)
static int acpi_register_gsi_xen_hvm(struct device *dev, u32 gsi,
int trigger, int polarity)
{
int rc, irq;
struct physdev_map_pirq map_irq;
Expand All @@ -41,7 +42,7 @@ static int xen_hvm_register_pirq(u32 gsi, int triggering)
return -1;
}

if (triggering == ACPI_EDGE_SENSITIVE) {
if (trigger == ACPI_EDGE_SENSITIVE) {
shareable = 0;
name = "ioapic-edge";
} else {
Expand All @@ -55,12 +56,6 @@ static int xen_hvm_register_pirq(u32 gsi, int triggering)

return irq;
}

static int acpi_register_gsi_xen_hvm(struct device *dev, u32 gsi,
int trigger, int polarity)
{
return xen_hvm_register_pirq(gsi, trigger);
}
#endif

#if defined(CONFIG_PCI_MSI)
Expand Down

0 comments on commit b96712c

Please sign in to comment.