diff options
author | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-02-26 12:06:08 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-02-26 12:06:08 -0800 |
commit | c90c69a508c2fd8d2f892c4b166baffc91111117 (patch) | |
tree | fbda802935ab4dfc56a7dc758c787fce4c066c02 /arch/sparc64/kernel | |
parent | 6842ac64ae2ed2714004a25d53d3b20f0d3af524 (diff) | |
parent | 19ba1b19962aeb87a029b37234f54b02e8f7b507 (diff) | |
download | op-kernel-dev-c90c69a508c2fd8d2f892c4b166baffc91111117.zip op-kernel-dev-c90c69a508c2fd8d2f892c4b166baffc91111117.tar.gz |
Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6
* master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6:
[SPARC] uctrl: Check request_irq() return value.
[SPARC64]: Update defconfig.
[SPARC64] bbc_i2c: Fix kenvctrld eating %100 cpu.
[SPARC64]: Fix arch_teardown_msi_irq().
[SPARC64]: virt_irq_free only needed when CONFIG_PCI_MSI
[SPARC]: Remove the broken SUN_AURORA driver.
Diffstat (limited to 'arch/sparc64/kernel')
-rw-r--r-- | arch/sparc64/kernel/irq.c | 2 | ||||
-rw-r--r-- | arch/sparc64/kernel/pci.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/arch/sparc64/kernel/irq.c b/arch/sparc64/kernel/irq.c index b5ff3ee..c443db1 100644 --- a/arch/sparc64/kernel/irq.c +++ b/arch/sparc64/kernel/irq.c @@ -109,6 +109,7 @@ static unsigned char virt_irq_alloc(unsigned int real_irq) return ent; } +#ifdef CONFIG_PCI_MSI static void virt_irq_free(unsigned int virt_irq) { unsigned int real_irq; @@ -121,6 +122,7 @@ static void virt_irq_free(unsigned int virt_irq) __bucket(real_irq)->virt_irq = 0; } +#endif static unsigned int virt_to_real_irq(unsigned char virt_irq) { diff --git a/arch/sparc64/kernel/pci.c b/arch/sparc64/kernel/pci.c index 6b740eb..6fedfb9 100644 --- a/arch/sparc64/kernel/pci.c +++ b/arch/sparc64/kernel/pci.c @@ -668,7 +668,7 @@ int arch_setup_msi_irq(struct pci_dev *pdev, struct msi_desc *desc) void arch_teardown_msi_irq(unsigned int virt_irq) { - struct msi_desc *entry = get_irq_data(virt_irq); + struct msi_desc *entry = get_irq_msi(virt_irq); struct pci_dev *pdev = entry->dev; struct pcidev_cookie *pcp = pdev->sysdata; struct pci_pbm_info *pbm = pcp->pbm; |