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
15a7f8d9
Commit
15a7f8d9
authored
Jun 18, 2003
by
Jay Estabrook
Committed by
Richard Henderson
Jun 18, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] any_online_cpu for arch/alpha/kernel/smp.h
parent
195868c1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
include/asm-alpha/smp.h
include/asm-alpha/smp.h
+9
-0
No files found.
include/asm-alpha/smp.h
View file @
15a7f8d9
...
@@ -57,6 +57,15 @@ num_online_cpus(void)
...
@@ -57,6 +57,15 @@ num_online_cpus(void)
return
hweight64
(
cpu_online_map
);
return
hweight64
(
cpu_online_map
);
}
}
extern
inline
int
any_online_cpu
(
unsigned
int
mask
)
{
if
(
mask
&
cpu_online_map
)
return
__ffs
(
mask
&
cpu_online_map
);
return
-
1
;
}
extern
int
smp_call_function_on_cpu
(
void
(
*
func
)
(
void
*
info
),
void
*
info
,
int
retry
,
int
wait
,
unsigned
long
cpu
);
extern
int
smp_call_function_on_cpu
(
void
(
*
func
)
(
void
*
info
),
void
*
info
,
int
retry
,
int
wait
,
unsigned
long
cpu
);
#else
/* CONFIG_SMP */
#else
/* CONFIG_SMP */
...
...
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