Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
c16cfec2
Commit
c16cfec2
authored
Feb 25, 2004
by
Jeff Garzik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix PCI MSI build when kirqd is disabled.
parent
a33161f5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
drivers/pci/msi.c
drivers/pci/msi.c
+3
-1
drivers/pci/msi.h
drivers/pci/msi.h
+3
-0
No files found.
drivers/pci/msi.c
View file @
c16cfec2
...
...
@@ -142,6 +142,7 @@ static void set_msi_affinity(unsigned int vector, cpumask_t cpu_mask)
}
}
#ifdef CONFIG_IRQBALANCE
static
inline
void
move_msi
(
int
vector
)
{
if
(
!
cpus_empty
(
pending_irq_balance_cpumask
[
vector
]))
{
...
...
@@ -149,7 +150,8 @@ static inline void move_msi(int vector)
cpus_clear
(
pending_irq_balance_cpumask
[
vector
]);
}
}
#endif
#endif
/* CONFIG_IRQBALANCE */
#endif
/* CONFIG_SMP */
static
void
mask_MSI_irq
(
unsigned
int
vector
)
{
...
...
drivers/pci/msi.h
View file @
c16cfec2
...
...
@@ -30,6 +30,9 @@ extern void (*interrupt[NR_IRQS])(void);
#define set_msi_irq_affinity set_msi_affinity
#else
#define set_msi_irq_affinity NULL
#endif
#ifndef CONFIG_IRQBALANCE
static
inline
void
move_msi
(
int
vector
)
{}
#endif
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment