Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
89c96096
Commit
89c96096
authored
Jul 29, 2007
by
Ralf Baechle
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[MIPS] IP27: Fix warning.
Signed-off-by:
Ralf Baechle
<
ralf@linux-mips.org
>
parent
31185131
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
7 deletions
+9
-7
arch/mips/sgi-ip27/ip27-klnuma.c
arch/mips/sgi-ip27/ip27-klnuma.c
+9
-7
No files found.
arch/mips/sgi-ip27/ip27-klnuma.c
View file @
89c96096
...
...
@@ -28,8 +28,6 @@ static cpumask_t ktext_repmask;
*/
void
__init
setup_replication_mask
(
void
)
{
cnodeid_t
cnode
;
/* Set only the master cnode's bit. The master cnode is always 0. */
cpus_clear
(
ktext_repmask
);
cpu_set
(
0
,
ktext_repmask
);
...
...
@@ -38,12 +36,16 @@ void __init setup_replication_mask(void)
#ifndef CONFIG_MAPPED_KERNEL
#error Kernel replication works with mapped kernel support. No calias support.
#endif
{
cnodeid_t
cnode
;
for_each_online_node
(
cnode
)
{
if
(
cnode
==
0
)
continue
;
/* Advertise that we have a copy of the kernel */
cpu_set
(
cnode
,
ktext_repmask
);
}
}
#endif
/* Set up a GDA pointer to the replication mask. */
GDA
->
g_ktext_repmask
=
&
ktext_repmask
;
...
...
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