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
17b834fe
Commit
17b834fe
authored
Jul 25, 2004
by
David Mosberger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ia64: Clean up arch/ia64/kernel/irq.c a bit.
parent
76eae9d7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
arch/ia64/kernel/irq.c
arch/ia64/kernel/irq.c
+4
-3
No files found.
arch/ia64/kernel/irq.c
View file @
17b834fe
...
@@ -87,7 +87,7 @@ irq_desc_t _irq_desc[NR_IRQS] __cacheline_aligned = {
...
@@ -87,7 +87,7 @@ irq_desc_t _irq_desc[NR_IRQS] __cacheline_aligned = {
/*
/*
* This is updated when the user sets irq affinity via /proc
* This is updated when the user sets irq affinity via /proc
*/
*/
cpumask_t
__cacheline_aligned
pending_irq_cpumask
[
NR_IRQS
];
static
cpumask_t
__cacheline_aligned
pending_irq_cpumask
[
NR_IRQS
];
static
unsigned
long
pending_irq_redir
[
BITS_TO_LONGS
(
NR_IRQS
)];
static
unsigned
long
pending_irq_redir
[
BITS_TO_LONGS
(
NR_IRQS
)];
#ifdef CONFIG_IA64_GENERIC
#ifdef CONFIG_IA64_GENERIC
...
@@ -1029,12 +1029,13 @@ void move_irq(int irq)
...
@@ -1029,12 +1029,13 @@ void move_irq(int irq)
/* note - we hold desc->lock */
/* note - we hold desc->lock */
cpumask_t
tmp
;
cpumask_t
tmp
;
irq_desc_t
*
desc
=
irq_descp
(
irq
);
irq_desc_t
*
desc
=
irq_descp
(
irq
);
int
irq_with_redir
=
test_bit
(
irq
,
pending_irq_redir
)
?
(
irq
|
IA64_IRQ_REDIRECTED
)
:
irq
;
int
redir
=
test_bit
(
irq
,
pending_irq_redir
)
;
if
(
!
cpus_empty
(
pending_irq_cpumask
[
irq
]))
{
if
(
!
cpus_empty
(
pending_irq_cpumask
[
irq
]))
{
cpus_and
(
tmp
,
pending_irq_cpumask
[
irq
],
cpu_online_map
);
cpus_and
(
tmp
,
pending_irq_cpumask
[
irq
],
cpu_online_map
);
if
(
unlikely
(
!
cpus_empty
(
tmp
)))
{
if
(
unlikely
(
!
cpus_empty
(
tmp
)))
{
desc
->
handler
->
set_affinity
(
irq_with_redir
,
pending_irq_cpumask
[
irq
]);
desc
->
handler
->
set_affinity
(
irq
|
(
redir
?
IA64_IRQ_REDIRECTED
:
0
),
pending_irq_cpumask
[
irq
]);
}
}
cpus_clear
(
pending_irq_cpumask
[
irq
]);
cpus_clear
(
pending_irq_cpumask
[
irq
]);
}
}
...
...
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