Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 19243
b: refs/heads/master
c: 8169b5d
h: refs/heads/master
i:
  19241: 7cc2b64
  19239: 41c6b4f
v: v3
  • Loading branch information
Grant Grundler authored and Greg Kroah-Hartman committed Feb 1, 2006
1 parent 48b08f4 commit 3f230fe
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 10 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: f8d65713332cf6306889a3036142a17e01e3447e
refs/heads/master: 8169b5d2384a0acd9ea3bb86bf5988cd7d62d03a
8 changes: 5 additions & 3 deletions trunk/drivers/pci/msi.c
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,8 @@ static void set_msi_affinity(unsigned int vector, cpumask_t cpu_mask)
break;
}
}
#else
#define set_msi_affinity NULL
#endif /* CONFIG_SMP */

static void mask_MSI_irq(unsigned int vector)
Expand Down Expand Up @@ -214,7 +216,7 @@ static struct hw_interrupt_type msix_irq_type = {
.disable = mask_MSI_irq,
.ack = mask_MSI_irq,
.end = end_msi_irq_w_maskbit,
.set_affinity = set_msi_irq_affinity
.set_affinity = set_msi_affinity
};

/*
Expand All @@ -230,7 +232,7 @@ static struct hw_interrupt_type msi_irq_w_maskbit_type = {
.disable = mask_MSI_irq,
.ack = mask_MSI_irq,
.end = end_msi_irq_w_maskbit,
.set_affinity = set_msi_irq_affinity
.set_affinity = set_msi_affinity
};

/*
Expand All @@ -246,7 +248,7 @@ static struct hw_interrupt_type msi_irq_wo_maskbit_type = {
.disable = do_nothing,
.ack = do_nothing,
.end = end_msi_irq_wo_maskbit,
.set_affinity = set_msi_irq_affinity
.set_affinity = set_msi_affinity
};

static void msi_data_init(struct msg_data *msi_data,
Expand Down
6 changes: 0 additions & 6 deletions trunk/drivers/pci/msi.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,6 @@ extern int vector_irq[NR_VECTORS];
extern void (*interrupt[NR_IRQS])(void);
extern int pci_vector_resources(int last, int nr_released);

#ifdef CONFIG_SMP
#define set_msi_irq_affinity set_msi_affinity
#else
#define set_msi_irq_affinity NULL
#endif

/*
* MSI-X Address Register
*/
Expand Down

0 comments on commit 3f230fe

Please sign in to comment.