Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 28590
b: refs/heads/master
c: b209a6e
h: refs/heads/master
v: v3
  • Loading branch information
bibo,mao authored and Greg Kroah-Hartman committed Jun 21, 2006
1 parent 9999778 commit 0a4ae26
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 8 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: 99dc804d9bcc2c53f4c20c291bf4e185312a1a0c
refs/heads/master: b209a6ee49099b7500abf024f7b6b9648b5a3eac
5 changes: 0 additions & 5 deletions trunk/drivers/pci/msi.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ static int nr_msix_devices;

#ifndef CONFIG_X86_IO_APIC
int vector_irq[NR_VECTORS] = { [0 ... NR_VECTORS - 1] = -1};
u8 irq_vector[NR_IRQ_VECTORS];
#endif

static struct msi_ops *msi_ops;
Expand Down Expand Up @@ -383,10 +382,6 @@ static int msi_init(void)
return status;
}

#ifndef CONFIG_X86_IO_APIC
irq_vector[0] = FIRST_DEVICE_VECTOR;
#endif

if (last_alloc_vector < 0) {
pci_msi_enable = 0;
printk(KERN_WARNING "PCI: No interrupt vectors available for MSI\n");
Expand Down
2 changes: 1 addition & 1 deletion trunk/include/asm-i386/msi.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#include <asm/desc.h>
#include <mach_apic.h>

#define LAST_DEVICE_VECTOR 232
#define LAST_DEVICE_VECTOR (FIRST_SYSTEM_VECTOR - 1)
#define MSI_TARGET_CPU_SHIFT 12

extern struct msi_ops msi_apic_ops;
Expand Down
2 changes: 1 addition & 1 deletion trunk/include/asm-x86_64/msi.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#include <asm/mach_apic.h>
#include <asm/smp.h>

#define LAST_DEVICE_VECTOR 232
#define LAST_DEVICE_VECTOR (FIRST_SYSTEM_VECTOR - 1)
#define MSI_TARGET_CPU_SHIFT 12

extern struct msi_ops msi_apic_ops;
Expand Down

0 comments on commit 0a4ae26

Please sign in to comment.