-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Jan Glauber
authored and
Martin Schwidefsky
committed
Nov 30, 2012
1 parent
dc1e2ec
commit 3e09084
Showing
12 changed files
with
684 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
--- | ||
refs/heads/master: e56e4e87e370a0f121450d52337969aa1be21ff7 | ||
refs/heads/master: 9a4da8a5b109906a64bed5aaeb83bf4edb1f5888 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
#ifndef _HW_IRQ_H | ||
#define _HW_IRQ_H | ||
|
||
#include <linux/msi.h> | ||
#include <linux/pci.h> | ||
|
||
static inline struct msi_desc *irq_get_msi_desc(unsigned int irq) | ||
{ | ||
return __irq_get_msi_desc(irq); | ||
} | ||
|
||
/* Must be called with msi map lock held */ | ||
static inline int irq_set_msi_desc(unsigned int irq, struct msi_desc *msi) | ||
{ | ||
if (!msi) | ||
return -EINVAL; | ||
|
||
msi->irq = irq; | ||
return 0; | ||
} | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.