git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
V4L/DVB (3437): Fix typo in enum name and use enum in struct dmxdev_filter
[safe/jmp/linux-2.6]
/
drivers
/
pci
/
msi.c
diff --git
a/drivers/pci/msi.c
b/drivers/pci/msi.c
index
8e1ba0b
..
48723d6
100644
(file)
--- a/
drivers/pci/msi.c
+++ b/
drivers/pci/msi.c
@@
-137,6
+137,8
@@
static void set_msi_affinity(unsigned int vector, cpumask_t cpu_mask)
break;
}
}
break;
}
}
+#else
+#define set_msi_affinity NULL
#endif /* CONFIG_SMP */
static void mask_MSI_irq(unsigned int vector)
#endif /* CONFIG_SMP */
static void mask_MSI_irq(unsigned int vector)
@@
-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,
.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
};
/*
};
/*
@@
-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,
.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
};
/*
};
/*
@@
-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,
.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,
};
static void msi_data_init(struct msg_data *msi_data,