Skip to content

Commit

Permalink
Merge branch 'stable/pci.cleanups.v1' of git://git.kernel.org/pub/scm…
Browse files Browse the repository at this point in the history
…/linux/kernel/git/konrad/xen

* 'stable/pci.cleanups.v1' of git://git.kernel.org/pub/scm/linux/kernel/git/konrad/xen:
  xen/pci: Use 'acpi_gsi_to_irq' value unconditionally.
  xen/pci: Remove 'xen_allocate_pirq_gsi'.
  xen/pci: Retire unnecessary #ifdef CONFIG_ACPI
  xen/pci: Move the allocation of IRQs when there are no IOAPIC's to the end
  xen/pci: Squash pci_xen_initial_domain and xen_setup_pirqs together.
  xen/pci: Use the xen_register_pirq for HVM and initial domain users
  xen/pci: In xen_register_pirq bind the GSI to the IRQ after the hypercall.
  xen/pci: Provide #ifdef CONFIG_ACPI to easy code squashing.
  xen/pci: Update comments and fix empty spaces.
  xen/pci: Shuffle code around.
  • Loading branch information
Linus Torvalds committed Jul 22, 2011
2 parents 896d017 + 97ffab1 commit 997271c
Show file tree
Hide file tree
Showing 4 changed files with 165 additions and 220 deletions.
5 changes: 3 additions & 2 deletions arch/x86/include/asm/xen/pci.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,14 @@ static inline int pci_xen_hvm_init(void)
}
#endif
#if defined(CONFIG_XEN_DOM0)
void __init xen_setup_pirqs(void);
int __init pci_xen_initial_domain(void);
int xen_find_device_domain_owner(struct pci_dev *dev);
int xen_register_device_domain_owner(struct pci_dev *dev, uint16_t domain);
int xen_unregister_device_domain_owner(struct pci_dev *dev);
#else
static inline void __init xen_setup_pirqs(void)
static inline int __init pci_xen_initial_domain(void)
{
return -1;
}
static inline int xen_find_device_domain_owner(struct pci_dev *dev)
{
Expand Down
Loading

0 comments on commit 997271c

Please sign in to comment.