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
90825280
Commit
90825280
authored
Sep 14, 2004
by
Richard Henderson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[ALPHA] Minor updates for cpumask_t.
parent
5c5b9c24
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
arch/alpha/kernel/sys_titan.c
arch/alpha/kernel/sys_titan.c
+3
-3
No files found.
arch/alpha/kernel/sys_titan.c
View file @
90825280
...
...
@@ -145,12 +145,12 @@ titan_end_irq(unsigned int irq)
}
static
void
titan_cpu_set_irq_affinity
(
unsigned
int
irq
,
unsigned
long
affinity
)
titan_cpu_set_irq_affinity
(
unsigned
int
irq
,
cpumask_t
affinity
)
{
int
cpu
;
for
(
cpu
=
0
;
cpu
<
4
;
cpu
++
)
{
if
(
affinity
&
(
1UL
<<
cpu
))
if
(
cpu_isset
(
cpu
,
affinity
))
titan_cpu_irq_affinity
[
cpu
]
|=
1UL
<<
irq
;
else
titan_cpu_irq_affinity
[
cpu
]
&=
~
(
1UL
<<
irq
);
...
...
@@ -159,7 +159,7 @@ titan_cpu_set_irq_affinity(unsigned int irq, unsigned long affinity)
}
static
void
titan_set_irq_affinity
(
unsigned
int
irq
,
unsigned
long
affinity
)
titan_set_irq_affinity
(
unsigned
int
irq
,
cpumask_t
affinity
)
{
spin_lock
(
&
titan_irq_lock
);
titan_cpu_set_irq_affinity
(
irq
-
16
,
affinity
);
...
...
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