Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 63478
b: refs/heads/master
c: 89c9609
h: refs/heads/master
v: v3
  • Loading branch information
Ralf Baechle committed Jul 31, 2007
1 parent 6696534 commit e8f1882
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 3118513172fc5ac843f22d7848369b11b1829df1
refs/heads/master: 89c960961d79ce87dfbc67bc05d254e6ee079939
16 changes: 9 additions & 7 deletions trunk/arch/mips/sgi-ip27/ip27-klnuma.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand All @@ -38,11 +36,15 @@ void __init setup_replication_mask(void)
#ifndef CONFIG_MAPPED_KERNEL
#error Kernel replication works with mapped kernel support. No calias support.
#endif
for_each_online_node(cnode) {
if (cnode == 0)
continue;
/* Advertise that we have a copy of the kernel */
cpu_set(cnode, ktext_repmask);
{
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. */
Expand Down

0 comments on commit e8f1882

Please sign in to comment.