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
e3e362f9
Commit
e3e362f9
authored
Jun 15, 2002
by
Ingo Molnar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- make irqbalance work on UP-IOAPIC systems, fix from Zwane Mwaikambo.
parent
4d0b85ea
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
arch/i386/kernel/io_apic.c
arch/i386/kernel/io_apic.c
+2
-2
No files found.
arch/i386/kernel/io_apic.c
View file @
e3e362f9
...
...
@@ -207,7 +207,7 @@ typedef struct {
}
____cacheline_aligned
irq_balance_t
;
static
irq_balance_t
irq_balance
[
NR_IRQS
]
__cacheline_aligned
=
{
[
0
...
NR_IRQS
-
1
]
=
{
1
,
0
}
};
=
{
[
0
...
NR_IRQS
-
1
]
=
{
0
,
0
}
};
extern
unsigned
long
irq_affinity
[
NR_IRQS
];
...
...
@@ -251,7 +251,7 @@ static inline void balance_irq(int irq)
irq_balance_t
*
entry
=
irq_balance
+
irq
;
unsigned
long
now
=
jiffies
;
if
(
(
entry
->
timestamp
!=
now
)
&&
(
smp_num_cpus
>
1
)
)
{
if
(
entry
->
timestamp
!=
now
)
{
unsigned
long
allowed_mask
;
int
random_number
;
...
...
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