projects
/
xeon-phi-kernel-module
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Replaced deprecated pci_enable_msix() call with equivalent pci_enable_msix_exact...
[xeon-phi-kernel-module]
/
host
/
linux.c
diff --git
a/host/linux.c
b/host/linux.c
index
fd0411a
..
94e921a
100644
(file)
--- a/
host/linux.c
+++ b/
host/linux.c
@@
-308,7
+308,7
@@
mic_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
if (mic_msi_enable){
for (i = 0; i < MIC_NUM_MSIX_ENTRIES; i ++)
bd_info->bi_msix_entries[i].entry = i;
if (mic_msi_enable){
for (i = 0; i < MIC_NUM_MSIX_ENTRIES; i ++)
bd_info->bi_msix_entries[i].entry = i;
- err = pci_enable_msix(mic_ctx->bi_pdev, bd_info->bi_msix_entries,
+ err = pci_enable_msix
_exact
(mic_ctx->bi_pdev, bd_info->bi_msix_entries,
MIC_NUM_MSIX_ENTRIES);
if (err == 0 ) {
// Only support 1 MSIx for now
MIC_NUM_MSIX_ENTRIES);
if (err == 0 ) {
// Only support 1 MSIx for now